mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6525002297
In integration tests, you might want to use helpers from engines that you mounted in your application. It's not hard to add it by yourself, but it's unneeded boilerplate. mounted_helpers are now included by default. That means that given engine mounted like: mount Foo::Engine => "/foo", :as => "foo" you will be able to use paths from this engine in tests this way: foo.root_path #=> "/foo" (closes #6573) |
||
---|---|---|
.. | ||
assertions | ||
assertions.rb | ||
integration.rb | ||
performance_test.rb | ||
test_process.rb | ||
test_request.rb | ||
test_response.rb |