提交 970ece24 编写于 作者: E eileencodes

Remove teardown code

Since I've moved the teardown code that contains the screenshot handling
to be generated when the application is generated this code was
interfering with the screenshot taking.

Because this runs before any app teardown code we would be resetting
sessions before taking the screenshot, resulting in a blank browser
window. The code to reset the sessions must come AFTER a screenshot has
been taken.
上级 4f98b633
......@@ -13,10 +13,5 @@ module TestHelper # :nodoc:
run Rails.application
end
end
def after_teardown
Capybara.reset_sessions!
super
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册