Commit 466203eb0c386b4b64512dc44cf7efa6221718df

Authored by Marin Jankovski
1 parent 1aabfcb9

Additional check in the test.

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
spec/models/user_spec.rb
... ... @@ -301,6 +301,8 @@ describe User do
301 301 User.search(user1.username.downcase).to_a.should == [user1]
302 302 User.search(user2.username.upcase).to_a.should == [user2]
303 303 User.search(user2.username.downcase).to_a.should == [user2]
  304 + User.search(user1.username.downcase).to_a.count.should == 2
  305 + User.search(user2.username.downcase).to_a.count.should == 1
304 306 end
305 307 end
306 308  
... ...