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:
Željko Filipin 2015-12-09 17:09:10 +01:00
parent 346275f751
commit fba53b776c
3 changed files with 1 additions and 12 deletions

View file

@ -23,16 +23,6 @@ Style/GlobalVars:
Style/StringLiterals:
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
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/VariableName:

View file

@ -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.mmv_wrapper_element).not_to be_visible
end
end
end

View file

@ -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
end
end