diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-08-17 11:58:17 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-08-17 11:58:17 -0700 |
commit | b662273df3d546a1fdd2de79005fd802f0e12643 (patch) | |
tree | 52f1c46e2e8cf736929dcdd61b7eea4d0bc6ea16 | |
parent | 24226c51f075ed8d8e721cdefb6d2661c0a1f53a (diff) | |
download | rails-b662273df3d546a1fdd2de79005fd802f0e12643.tar.gz rails-b662273df3d546a1fdd2de79005fd802f0e12643.tar.bz2 rails-b662273df3d546a1fdd2de79005fd802f0e12643.zip |
The gem is called 'responders'
-rw-r--r-- | actionpack/lib/action_controller/metal/mime_responds.rb | 4 | ||||
-rw-r--r-- | actionpack/test/controller/mime/responders_test.rb (renamed from actionpack/test/controller/mime/responder_test.rb) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb index f5565947aa..5c869d4ce2 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -8,7 +8,7 @@ module ActionController #:nodoc: module ClassMethods def respond_to(*) raise NoMethodError, "The controller-level `respond_to' feature has " \ - "been extracted to the `responder` gem. Add it to your Gemfile to " \ + "been extracted to the `responders` gem. Add it to your Gemfile to " \ "continue using this feature. Consult the Rails upgrade guide for " \ "details." end @@ -16,7 +16,7 @@ module ActionController #:nodoc: def respond_with(*) raise NoMethodError, "The `respond_with' feature has been extracted " \ - "to the `responder` gem. Add it to your Gemfile to continue using " \ + "to the `responders` gem. Add it to your Gemfile to continue using " \ "this feature. Consult the Rails upgrade guide for details." end diff --git a/actionpack/test/controller/mime/responder_test.rb b/actionpack/test/controller/mime/responders_test.rb index 6201af3299..416e3191e6 100644 --- a/actionpack/test/controller/mime/responder_test.rb +++ b/actionpack/test/controller/mime/responders_test.rb @@ -9,7 +9,7 @@ class ResponderTest < ActionController::TestCase end end - assert_includes e.message, '`responder` gem' + assert_includes e.message, '`responders` gem' end def test_respond_with @@ -25,6 +25,6 @@ class ResponderTest < ActionController::TestCase get :index end - assert_includes e.message, '`responder` gem' + assert_includes e.message, '`responders` gem' end end |