Skip to content

Commit

Permalink
Changelog and a minor change on the test title
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Flores committed Apr 4, 2012
1 parent 857af60 commit 07ef99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* bug fix
* `/users/sign_in` doesn't choke on protected attributes used to select sign in scope (by @Paymium)
* `failed_attempts` is set to zero after any sign in (including via reset password) (by @rodrigoflores)
* Added token expiration on timeout (by @antiarchitect)

== 2.1.0.rc

Expand Down
2 changes: 1 addition & 1 deletion test/integration/token_authenticatable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class TokenAuthenticationTest < ActionController::IntegrationTest
end
end

test 'should not authenticated and reset token when expire_auth_token_on_timeout is set to true, timeoutable is enabled and we have a timed out session' do
test 'should reset token and not authenticate when expire_auth_token_on_timeout is set to true, timeoutable is enabled and we have a timed out session' do
swap Devise, :token_authentication_key => :secret_token, :expire_auth_token_on_timeout => true, :timeout_in => (-1).minute do
user = sign_in_as_new_user_with_token
assert warden.authenticated?(:user)
Expand Down

0 comments on commit 07ef99a

Please sign in to comment.