Fix changelog e cleanup white spaces

This commit is contained in:
Carlos Antonio da Silva 2010-11-21 11:25:37 -02:00
parent 71450998c5
commit ed30114bd8
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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')