diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 16:11:44 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 16:11:44 +1100 |
commit | f7878a229b597b5fc7ba8172c8e8c94a8fd9d7b6 (patch) | |
tree | 02dd287051e0d295b6895ef117295b1db618d87f | |
parent | 34da19d34511c8f6aaf1cbdc7d819bc28e5de1c7 (diff) |
Fix another order dependent test issue
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 582fb6be0..ccbf6b8ab 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -2199,6 +2199,10 @@ end describe RequestController, "when doing type ahead searches" do render_views + before :each do + get_fixtures_xapian_index + end + it "should return nothing for the empty query string" do get :search_typeahead, :q => "" response.should render_template('request/_search_ahead') |