beta 4 works, yay.

This commit is contained in:
José Valim 2010-06-09 01:26:54 +02:00
parent f0c0f5f11b
commit 870912d458
3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
*~
coverage/*
*.sqlite3
.bundle
rdoc/*
pkg
log

View File

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

View File

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