diff options
Diffstat (limited to 'test/support/integration_test.rb')
-rw-r--r-- | test/support/integration_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/support/integration_test.rb b/test/support/integration_test.rb index afd10b8..54fb49e 100644 --- a/test/support/integration_test.rb +++ b/test/support/integration_test.rb @@ -2,7 +2,13 @@ require 'capybara' module IntegrationTest include Capybara::DSL + def setup + super + %x[rm -rf test/dummy/tmp/cache] + end + def teardown + super Capybara.reset_sessions! Capybara.use_default_driver end |