diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-12-11 17:40:50 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-12-11 17:40:50 +0300 |
commit | 1bd0c0d05836bb88d29aff6c7708905ad666ebf1 (patch) | |
tree | e902cbc3340cdb9aee8dae2918f6e17e1a969011 /qa | |
parent | 2711d043b814a9feec859968cfc67e3eff770750 (diff) |
Update browser.rb
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/runtime/browser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/runtime/browser.rb b/qa/qa/runtime/browser.rb index f95e4c78fcc..6fb37fdfc7f 100644 --- a/qa/qa/runtime/browser.rb +++ b/qa/qa/runtime/browser.rb @@ -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 |