diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2014-08-17 13:21:28 -0400 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2014-08-17 13:21:28 -0400 |
commit | bf5b6969682394c3f71daa6e9962c86f4bf71059 (patch) | |
tree | 66e0eb4b506ad92b8ee3c03fc2a8a57f8ed6a8b3 /actionview/test/activerecord/controller_runtime_test.rb | |
parent | aee1ba42339df2baf6b44af01f270ae2d37863e1 (diff) | |
parent | 57f5b00ba4f675873d5bab3bc88dae55d4fe7857 (diff) | |
download | rails-bf5b6969682394c3f71daa6e9962c86f4bf71059.tar.gz rails-bf5b6969682394c3f71daa6e9962c86f4bf71059.tar.bz2 rails-bf5b6969682394c3f71daa6e9962c86f4bf71059.zip |
Merge pull request #16526 from rails/jv-no-responders
Move respond_with to the responders gem
Diffstat (limited to 'actionview/test/activerecord/controller_runtime_test.rb')
-rw-r--r-- | actionview/test/activerecord/controller_runtime_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionview/test/activerecord/controller_runtime_test.rb b/actionview/test/activerecord/controller_runtime_test.rb index 368bec1c70..b5bfcf12a3 100644 --- a/actionview/test/activerecord/controller_runtime_test.rb +++ b/actionview/test/activerecord/controller_runtime_test.rb @@ -8,8 +8,6 @@ ActionController::Base.send :include, ActiveRecord::Railties::ControllerRuntime class ControllerRuntimeLogSubscriberTest < ActionController::TestCase class LogSubscriberController < ActionController::Base - respond_to :html - def show render :inline => "<%= Project.all %>" end @@ -21,7 +19,7 @@ class ControllerRuntimeLogSubscriberTest < ActionController::TestCase def create ActiveRecord::LogSubscriber.runtime += 100 project = Project.last - respond_with(project, location: url_for(action: :show)) + redirect_to "/" end def redirect |