diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 49bcffd0..cc0ccec3 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -18,7 +18,7 @@ * Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message * Use ActiveModel#to_key instead of #id * sign_out_all_scopes now destroys the whole session - * Added insensitive_case_keys that automatically downcases the given keys, by default downcases only e-mail (by github.com/adahl) + * Added case_insensitive_keys that automatically downcases the given keys, by default downcases only e-mail (by github.com/adahl) * default behavior changes * sign_out_all_scopes defaults to true as security measure diff --git a/test/controllers/internal_helpers_test.rb b/test/controllers/internal_helpers_test.rb index 415de63f..0731aadf 100644 --- a/test/controllers/internal_helpers_test.rb +++ b/test/controllers/internal_helpers_test.rb @@ -49,11 +49,11 @@ class HelpersTest < ActionController::TestCase @mock_warden.expects(:authenticate).with(:scope => :user).returns(User.new) assert_kind_of User, @controller.signed_in_resource end - + test 'is a devise controller' do assert @controller.devise_controller? end - + test 'does not issue blank flash messages' do MyController.send(:public, :set_flash_message) I18n.stubs(:t).returns(' ') @@ -61,7 +61,7 @@ class HelpersTest < ActionController::TestCase assert flash[:notice].nil? MyController.send(:protected, :set_flash_message) end - + test 'issues non-blank flash messages normally' do MyController.send(:public, :set_flash_message) I18n.stubs(:t).returns('non-blank')