override search term length for topic id spec

This commit is contained in:
Sam 2013-08-15 13:19:37 +10:00
parent 79c109a819
commit fcbb9919b6
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ describe Search do
end
context "search for a topic by id" do
let(:result) { first_of_type(Search.new(topic.id, type_filter: 'topic').execute, 'topic') }
let(:result) { first_of_type(Search.new(topic.id, type_filter: 'topic', min_search_term_length: 1).execute, 'topic') }
it 'returns the topic' do
result.should be_present