Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added spec for multiple user search exclusion

  • Loading branch information...
commit 836adff19edd55b5dd50a3e57de2dda8298c144c 1 parent 37a2cdb
@pengwynn pengwynn authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/twitter/search_spec.rb
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.