Skip to content

Commit

Permalink
Ensure that users are tested (@duncan)
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Sep 23, 2010
1 parent 83e1ea1 commit 108019e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/twitter/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ class BaseTest < Test::Unit::TestCase
should "be able to lookup users in bulk" do
stub_get("/users/lookup.json?screen_name=sferik&user_id=59593,774010", "users.json")
users = @twitter.users("sferik", 59593, 774010)
users.first.screen_name.should == "sferik"
users.count.should == 3
usernames = users.map{|u| u['screen_name']}
usernames.should include 'sferik'
usernames.should include 'jm3'
usernames.should include 'jamiew'
end

should "be able to search people" do
Expand Down

0 comments on commit 108019e

Please sign in to comment.