summaryrefslogtreecommitdiff
path: root/spec/support/capybara.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r--spec/support/capybara.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index b5bf2c9340b..e196455206e 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -45,12 +45,12 @@ RSpec.configure do |config|
host: Capybara.current_session.server.host,
port: Capybara.current_session.server.port,
protocol: 'http')
- end
- config.after(:example, :js) do |example|
# reset window size between tests
- Capybara.current_session.current_window.resize_to(1240, 1400);
+ Capybara.current_session.current_window.resize_to(1240, 1400)
+ end
+ config.after(:example, :js) do |example|
# prevent localstorage from introducing side effects based on test order
execute_script("localStorage.clear();")