diff options
-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 |