From cca6f5e121b924dc76cc923b8a82948ab8d75f70 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 10 Sep 2013 18:01:56 +0200 Subject: clear cache before running --- test/support/integration_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/support') 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 -- cgit v1.2.3