DEPRECATION WARNING: Passing the use_route option in functional tests are deprecated. Support for this option in the process method (and the related get, head, post, patch, put and delete helpers) will be removed in the next version without replacement. Functional tests are essentially unit tests for controllers and they should not require knowledge to how the application's routes are configured. Instead, you should explicitly pass the appropiate params to the process method. Previously the engines guide also contained an incorrect example that recommended using this option to test an engine's controllers within the dummy application. That recommendation was incorrect and has since been corrected. Instead, you should override the @routes variable in the test case with Foo::Engine.routes. See the updated engines guide for details. (called from process_action at /Users/ando/repos/physiqual/spec/support/engine_controller_patch.rb:29
DEPRECATION WARNING: Passing the
use_route
option in functional tests are deprecated. Support for this option in theprocess
method (and the relatedget
,head
,post
,patch
,put
anddelete
helpers) will be removed in the next version without replacement. Functional tests are essentially unit tests for controllers and they should not require knowledge to how the application's routes are configured. Instead, you should explicitly pass the appropiate params to theprocess
method. Previously the engines guide also contained an incorrect example that recommended using this option to test an engine's controllers within the dummy application. That recommendation was incorrect and has since been corrected. Instead, you should override the@routes
variable in the test case withFoo::Engine.routes
. See the updated engines guide for details. (called from process_action at /Users/ando/repos/physiqual/spec/support/engine_controller_patch.rb:29