Commit 1bd0c0d0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Update browser.rb

parent 2711d043
......@@ -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