diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-24 18:16:47 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-24 18:16:47 +0000 |
commit | 7ce3c4e7547fe16849ba9287dfd94d96183eafac (patch) | |
tree | 2d5fa22cac2a9a3b2b59b864401d0fe2ae3829cf /spec/controllers/general_controller_spec.rb | |
parent | ddb79209784a29da895b81221c0c2f9d2b01e2c9 (diff) |
Improve test isolation
Towards #361. Fixes:
spec/models/xapian_spec.rb spec/controllers/general_controller_spec.rb
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r-- | spec/controllers/general_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/general_controller_spec.rb b/spec/controllers/general_controller_spec.rb index 37e3aa1e3..2750a33f3 100644 --- a/spec/controllers/general_controller_spec.rb +++ b/spec/controllers/general_controller_spec.rb @@ -35,6 +35,7 @@ describe GeneralController, "when searching" do before(:each) do load_raw_emails_data(raw_emails) + rebuild_xapian_index end it "should render the front page successfully" do @@ -112,6 +113,7 @@ describe GeneralController, "when searching" do # rebuild xapian index after fixtures loaded before(:each) do + load_raw_emails_data(raw_emails) rebuild_xapian_index end |