Permalink
Browse files

+ more comprehensive spec

  • Loading branch information...
1 parent 59b308b commit d0d46a294e84ee92c6ef741324f6a232dab7ee45 @floere committed Dec 30, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 server/spec/functional/only_spec.rb
@@ -37,13 +37,16 @@
try_again.search('text1,text2,text3:text1').ids.should == []
try_again.search('text1,text2:text1').ids.should == []
try_again.search('text1,text3:text1').ids.should == []
+ try_again.search('text2,text3:text1').ids.should == []
try_again.search('text1,text2,text3:text2').ids.should == [1]
try_again.search('text1,text2:text2').ids.should == [1]
try_again.search('text1,text3:text2').ids.should == []
+ try_again.search('text2,text3:text2').ids.should == [1]
try_again.search('text1,text2,text3:text3').ids.should == [1]
try_again.search('text1,text2:text3').ids.should == []
try_again.search('text1,text3:text3').ids.should == [1]
+ try_again.search('text2,text3:text3').ids.should == [1]
end
end

0 comments on commit d0d46a2

Please sign in to comment.