mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-16 20:35:09 +00:00
Fixed Style/TrailingBlankLines RuboCop offense
Change-Id: I7cbfd6d148982039c720fc4fb72e410372a0cbde See: https://github.com/bbatsov/ruby-style-guide#newline-eof Bug: T117984
This commit is contained in:
parent
346275f751
commit
fba53b776c
|
@ -23,16 +23,6 @@ Style/GlobalVars:
|
||||||
Style/StringLiterals:
|
Style/StringLiterals:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 4
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
||||||
Style/TrailingBlankLines:
|
|
||||||
Exclude:
|
|
||||||
- 'tests/browser/features/step_definitions/mmv_download_steps.rb'
|
|
||||||
- 'tests/browser/features/step_definitions/mmv_navigation_steps.rb'
|
|
||||||
- 'tests/browser/features/step_definitions/mmv_options_steps.rb'
|
|
||||||
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
|
|
||||||
|
|
||||||
# Offense count: 3
|
# Offense count: 3
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
Style/VariableName:
|
Style/VariableName:
|
||||||
|
|
|
@ -41,4 +41,4 @@ Then /^I should be navigated back to the original wiki article$/ do
|
||||||
expect(page.image1_in_article_element).to be_visible
|
expect(page.image1_in_article_element).to be_visible
|
||||||
expect(page.mmv_wrapper_element).not_to be_visible
|
expect(page.mmv_wrapper_element).not_to be_visible
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -46,4 +46,3 @@ Then /^the MMV image is loaded in (\d+) percent of the time with a (.*) cache an
|
||||||
expect(mmv_time).to be < expected_time
|
expect(mmv_time).to be < expected_time
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue