mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
Fixed Style/Semicolon RuboCop offense
Change-Id: Ib01751f81e921beb3c7e157f9e8037859eb1b3f6 See: https://github.com/bbatsov/ruby-style-guide#no-semicolon Bug: T117984
This commit is contained in:
parent
3bbd3fa72a
commit
346275f751
|
@ -17,13 +17,6 @@ Style/GlobalVars:
|
|||
Exclude:
|
||||
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowAsExpressionSeparator.
|
||||
Style/Semicolon:
|
||||
Exclude:
|
||||
- 'tests/browser/features/step_definitions/mmv_navigation_steps.rb'
|
||||
|
||||
# Offense count: 79
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
|
|
|
@ -10,7 +10,7 @@ end
|
|||
|
||||
When /^I press the browser back button$/ do
|
||||
# $browser.back doesn't work for Safari. This is a workaround for https://code.google.com/p/selenium/issues/detail?id=3771
|
||||
on(E2ETestPage).execute_script("window.history.back();");
|
||||
on(E2ETestPage).execute_script("window.history.back();")
|
||||
end
|
||||
|
||||
Then /^the image and metadata of the next image should appear$/ do
|
||||
|
|
Loading…
Reference in a new issue