Permalink
Browse files

Assert SearchResults are returned from a client#search

  • Loading branch information...
1 parent fcaec5f commit bb8d35f4eef9082097ae112f74510d5fb66fd211 @wjlroe committed May 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/twitter/client/search_spec.rb
@@ -20,6 +20,7 @@
end
it "should return recent statuses related to a query with images and videos embedded" do
search = @client.search('twitter')
+ search.should be_a Twitter::SearchResults
search.results.should be_an Array
search.results.first.should be_a Twitter::Status
search.results.first.text.should == "@KaiserKuo from not too far away your new twitter icon looks like Vader."

0 comments on commit bb8d35f

Please sign in to comment.