Fixed Style/IndentationWidth RuboCop offense

Bug: 117989
Change-Id: Ifc6ca84cef432c1214acb0cd988146544895f400
This commit is contained in:
Željko Filipin
2015-11-18 12:01:51 +01:00
parent 22e8762cec
commit 71707e11a9
2 changed files with 4 additions and 10 deletions

View File

@@ -35,12 +35,6 @@ Style/GlobalVars:
Style/HashSyntax: Style/HashSyntax:
Enabled: false Enabled: false
# Offense count: 90
# Cop supports --auto-correct.
# Configuration parameters: Width.
Style/IndentationWidth:
Enabled: false
# Offense count: 8 # Offense count: 8
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles. # Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles.

View File

@@ -85,10 +85,10 @@ Then(/^I see the logged in language settings panel$/) do
end end
Then(/^I see Worldwide$/) do Then(/^I see Worldwide$/) do
on(InterlanguagePage) do |page| on(InterlanguagePage) do |page|
page.language_list.should match Regexp.escape('Worldwide') page.language_list.should match Regexp.escape('Worldwide')
page.english_link_element.should be_visible page.english_link_element.should be_visible
end end
end end
Then(/^I click the cog icon to open language settings again$/) do Then(/^I click the cog icon to open language settings again$/) do