Skip to content
Browse files

Fixed typo in unit tests. No clue how that got there.

  • Loading branch information...
1 parent e492673 commit 6bbdc947a104f422da30528b5e8d3d4addb368b5 @pwnall committed Apr 7, 2012
Showing with 6 additions and 6 deletions.
  1. +3 −3 Gemfile.lock
  2. +3 −3 test/unit/user_test.rb
View
6 Gemfile.lock
@@ -82,13 +82,13 @@ GEM
oauth2 (>= 0.5.0)
rails (>= 3.1.0)
ffi (1.0.11)
- github-markup (0.7.1)
+ github-markup (0.7.2)
gravatar-ultimate (1.0.3)
hashie (1.2.0)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
- jquery-rails (2.0.1)
+ jquery-rails (2.0.2)
railties (>= 3.2.0, < 5.0)
thor (~> 0.14)
json (1.6.6)
@@ -164,7 +164,7 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.5)
- therubyracer (0.10.0)
+ therubyracer (0.10.1)
libv8 (~> 3.3.10)
thin (1.3.1)
daemons (>= 1.0.9)
View
6 test/unit/user_test.rb
@@ -42,9 +42,9 @@ class UserTest < ActiveSupport::TestCase
test 'can_list_users?' do
users(:jane).admin = true
- assert Users.can_list_users?(users(:jane)), 'admin'
- assert !Users.can_list_users?(users(:john)), 'non-admin'
- assert !Users.can_list_users?(users(:john)), 'no user signed in'
+ assert User.can_list_users?(users(:jane)), 'admin'
+ assert !User.can_list_users?(users(:john)), 'non-admin'
+ assert !User.can_list_users?(users(:john)), 'no user signed in'
end
test 'find_by_name' do

0 comments on commit 6bbdc94

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