Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Merge 4d7276d into b91323e
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamintanweihao committed Oct 10, 2013
2 parents b91323e + 4d7276d commit 7ec2777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/fuzzily/searchable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ def Stuff.name ; 'Stuff' ; end
subject.find_by_fuzzy_name('Lon').should == [@london, @lo]
end

it 'honours limie option' do
it 'honours limit option' do
subject.fuzzily_searchable :name
3.times { subject.create!(:name => 'Paris') }
subject.find_by_fuzzy_name('Paris', :limit => 2).length.should == 2
end
end
end

end
end

0 comments on commit 7ec2777

Please sign in to comment.