Commit 33e99a21 authored by Grzegorz Bizon's avatar Grzegorz Bizon Committed by Grzegorz Bizon

Update browser.rb

parent 195c6030
......@@ -86,7 +86,7 @@ module QA
# RSpec examples will take care of screenshots on their own
#
unless block.binding.receiver.is_a?(RSpec::Core::ExampleGroup)
Capybara::Screenshot.screenshot_and_save_page
screenshot_and_save_page
end
raise
......@@ -101,7 +101,7 @@ module QA
#
def clear!
visit(@address)
Capybara.reset_session!
reset_session!
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment