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:
Enabled: false
# Offense count: 90
# Cop supports --auto-correct.
# Configuration parameters: Width.
Style/IndentationWidth:
Enabled: false
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles.

View File

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