diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-05-02 15:56:46 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-05-02 15:56:46 +0100 |
commit | 5009bfcf52f99c26896ccdcb33d9f52377c04d6d (patch) | |
tree | 807bd0f876cce3e47fa7cd28a29134a4159eb06c /spec/controllers/request_controller_spec.rb | |
parent | ef7be8c296a39d403193cd1ff6a9e0826a8790ac (diff) |
All the tests in this group rely on having the xapian db - make it part of the setup.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 20420b96d..657837c72 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -907,6 +907,7 @@ describe RequestController, "when searching for an authority" do # so we make sure we're logged in, just in case before do @user = users(:bob_smith_user) + get_fixtures_xapian_index end it "should return nothing for the empty query string" do @@ -918,7 +919,6 @@ describe RequestController, "when searching for an authority" do end it "should return matching bodies" do - get_fixtures_xapian_index session[:user_id] = @user.id get :select_authority, :query => "Quango" |