Rubocop driven style updates

This commit is contained in:
Thomas Walpole 2021-07-24 19:53:46 -07:00
parent e292a550a4
commit 4a94418113
4 changed files with 10 additions and 10 deletions

View File

@ -23,7 +23,7 @@ end
if RUBY_ENGINE == 'jruby'
# :nocov:
module Capybara::DSL
class <<self
class << self
remove_method :included
def included(base)
@ -55,7 +55,7 @@ else
end
def self.prepended(base)
class <<base
class << base
prepend ClassMethods
end
end
@ -70,7 +70,7 @@ else
end
def self.prepended(base)
class <<base
class << base
prepend ClassMethods
end
end

View File

@ -53,8 +53,8 @@ class TestApp < Sinatra::Base
get '/referer_base' do
'<a href="/get_referer">direct link</a>' \
'<a href="/redirect_to_get_referer">link via redirect</a>' \
'<form action="/get_referer" method="get"><input type="submit"></form>'
'<a href="/redirect_to_get_referer">link via redirect</a>' \
'<form action="/get_referer" method="get"><input type="submit"></form>'
end
get '/redirect_to_get_referer' do
@ -180,7 +180,7 @@ class TestApp < Sinatra::Base
get '/download.csv' do
content_type 'text/csv'
'This, is, comma, separated' \
'Thomas, Walpole, was , here'
'Thomas, Walpole, was , here'
end
get '/:view' do |view|

View File

@ -21,8 +21,8 @@ def ensure_selenium_running!
rescue StandardError
if timer.expired?
raise 'Selenium is not running. ' \
"You can run a selenium server easily with: \n" \
' $ docker-compose up -d selenium_chrome'
"You can run a selenium server easily with: \n" \
' $ docker-compose up -d selenium_chrome'
else
puts 'Waiting for Selenium docker instance...'
sleep 1

View File

@ -21,8 +21,8 @@ def ensure_selenium_running!
rescue StandardError
if timer.expired?
raise 'Selenium is not running. ' \
"You can run a selenium server easily with: \n" \
' $ docker-compose up -d selenium_firefox'
"You can run a selenium server easily with: \n" \
' $ docker-compose up -d selenium_firefox'
else
puts 'Waiting for Selenium docker instance...'
sleep 1