0
0
polecat/spec/index_searcher/search_spec.rb
Gibheer 3e12494e44 * changed the method IndexSearcher#initialize to only use hashes
* added IndexSearcher#search for strings only
2011-05-30 21:56:02 +02:00

11 lines
279 B
Ruby

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe "IndexSearcher#search" do
let(:path) { prepare_index_dir }
let(:s) { Polecat::IndexSearcher.new :path => path }
it "takes a string as an argument" do
s.search("foo").should == []
end
end