Permalink
Browse files

Dan started following his own shot, breaking this test. Funny stuff.

  • Loading branch information...
1 parent 6d6ab14 commit 5d53996327f1b5bbe68d6149ad41fc5f469d3c41 @semanticart semanticart committed Aug 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/player_test.rb
View
@@ -47,13 +47,13 @@ def test_shots_following
shots.each do |shot|
assert_kind_of Dribbble::Shot, shot
assert_kind_of Dribbble::Player, shot.player
- assert_not_equal player, shot.player
end
shots = player.shots_following(:per_page => 2)
assert_equal 2, shots.size
shots.each do |shot|
- assert_not_equal player, shot.player
+ assert_kind_of Dribbble::Shot, shot
+ assert_kind_of Dribbble::Player, shot.player
end
end

0 comments on commit 5d53996

Please sign in to comment.