diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-16 19:10:41 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-16 19:10:41 +0000 |
commit | 2d195dd428c5415e75e84fdbae9449bed614e494 (patch) | |
tree | 677089631ea6f00d0eefc6183b243c30f3673b94 /spec/controllers/request_controller_spec.rb | |
parent | cf3cb34ba942b2a24d8f9775020db98503e6fad1 (diff) |
Clear the purge requests in the setup for these tests so they are isolated from the behaviour of other tests.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 6f25b605a..396abbb65 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -122,6 +122,9 @@ end describe RequestController, "when changing things that appear on the request page" do integrate_views + before do + PurgeRequest.destroy_all + end it "should purge the downstream cache when mail is received" do ir = info_requests(:fancy_dog_request) |