Skip to content
Browse files

beta 4 works, yay.

  • Loading branch information...
1 parent f0c0f5f commit 870912d458654511d6dd7b497954add72cf753c7 @josevalim josevalim committed Jun 9, 2010
Showing with 6 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +4 −4 Gemfile
  3. +1 −1 test/models/lockable_test.rb
View
1 .gitignore
@@ -3,6 +3,7 @@
*~
coverage/*
*.sqlite3
+.bundle
rdoc/*
pkg
log
View
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"
View
2 test/models/lockable_test.rb
@@ -64,7 +64,7 @@ def setup
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

0 comments on commit 870912d

Please sign in to comment.
Something went wrong with that request. Please try again.