diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-09-10 20:01:56 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-09-10 20:01:56 +0400 |
commit | cca6f5e121b924dc76cc923b8a82948ab8d75f70 (patch) | |
tree | e2185c474922fb9978b841e36ec2f00bd8a3cf08 /test/support | |
parent | 852737b40c59cd09744c765b476228ecdb7522b0 (diff) |
clear cache before running
Diffstat (limited to 'test/support')
-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 |