summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-12-11 14:40:50 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-12-11 14:40:50 +0000
commit1bd0c0d05836bb88d29aff6c7708905ad666ebf1 (patch)
treee902cbc3340cdb9aee8dae2918f6e17e1a969011 /qa
parent2711d043b814a9feec859968cfc67e3eff770750 (diff)
downloadgitlab-ce-1bd0c0d05836bb88d29aff6c7708905ad666ebf1.tar.gz
Update browser.rb
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/runtime/browser.rb4
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