Permalink
Browse files

added spec for multiple user search exclusion

  • Loading branch information...
1 parent 37a2cdb commit 836adff19edd55b5dd50a3e57de2dda8298c144c @pengwynn pengwynn committed Jan 27, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/twitter/search_spec.rb
@@ -126,6 +126,13 @@
it "should set the query not to include statuses from the specified person" do
@client.not_from('sferik').query[:q].should include '-from:sferik'
end
+
+ it "should exclude multiple users" do
+ query = @client.not_from('sferik').not_from('pengwynn').query[:q]
+ query.should include '-from:sferik'
+ query.should include '-from:pengwynn'
+
+ end
end

0 comments on commit 836adff

Please sign in to comment.