* trying reset sessions

This commit is contained in:
Seth Call 2013-11-16 19:35:01 +00:00
parent 7f4c15ea87
commit f74ef61965
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ Spork.prefork do
config.after(:each) do
if example.metadata[:js]
Capybara.reset_sessions!
#sleep (ENV['SLEEP_JS'] || 0.2).to_i # necessary though otherwise intermittent failures: http://stackoverflow.com/questions/14265983/upgrading-capybara-from-1-0-1-to-1-1-4-makes-database-cleaner-break-my-specs
end