diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index e532190252..133055218a 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -276,13 +276,13 @@ module ApplicationTests class ::OmgController < ActionController::Base def index - render text: Rails.application.verifier.generate("some_value") + render text: Rails.application.message_verifier.generate("some_value") end end get "/" - assert_equal 'some_value', Rails.application.verifier.verify(last_response.body) + assert_equal 'some_value', Rails.application.message_verifier.verify(last_response.body) secret = app.key_generator.generate_key('application verifier') verifier = ActiveSupport::MessageVerifier.new(secret) @@ -298,7 +298,7 @@ module ApplicationTests class ::OmgController < ActionController::Base def index - render text: Rails.application.verifier.generate("some_value") + render text: Rails.application.message_verifier.generate("some_value") end end |