mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
beta 4 works, yay.
This commit is contained in:
parent
f0c0f5f11b
commit
870912d458
3 changed files with 6 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,6 +3,7 @@
|
|||
*~
|
||||
coverage/*
|
||||
*.sqlite3
|
||||
.bundle
|
||||
rdoc/*
|
||||
pkg
|
||||
log
|
||||
|
|
|
|||
8
Gemfile
8
Gemfile
|
|
@ -1,10 +1,10 @@
|
|||
source "http://gemcutter.org"
|
||||
source "http://rubygems.org"
|
||||
|
||||
# Need to install Rails from source
|
||||
gem "rails", :path => "../rails"
|
||||
gem "warden", "0.10.5"
|
||||
gem "rails", "3.0.0.beta4"
|
||||
gem "warden", "0.10.7"
|
||||
gem "sqlite3-ruby"
|
||||
gem "webrat", "0.7"
|
||||
gem "webrat", "0.7.0"
|
||||
gem "mocha", :require => false
|
||||
gem "bcrypt-ruby", :require => "bcrypt"
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class LockableTest < ActiveSupport::TestCase
|
|||
user.unlock_access!
|
||||
assert_nil user.reload.locked_at
|
||||
assert_nil user.reload.unlock_token
|
||||
assert 0, user.reload.failed_attempts
|
||||
assert_equal 0, user.reload.failed_attempts
|
||||
end
|
||||
|
||||
test 'should not unlock an unlocked user' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue