* trying reset sessions
This commit is contained in:
parent
7f4c15ea87
commit
f74ef61965
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue