Fixed Style/StringLiterals RuboCop offense

Bug: 117989
Change-Id: I82086ebd56ace9f85c521ef53b67e5e4bae9d607
This commit is contained in:
Željko Filipin
2015-11-18 12:00:36 +01:00
parent 81e918780a
commit 22e8762cec
20 changed files with 128 additions and 134 deletions

View File

@@ -73,7 +73,7 @@ When(/^I use the panel to change my (?:interface|input) language to "(.*?)"$/) d
end
Then(/^the panel is in English/) do
on(PanelPage).panel_language_element.text.should == "Language"
on(PanelPage).panel_language_element.text.should == 'Language'
end
When(/^I switch to Input panel of language settings$/) do
@@ -81,7 +81,7 @@ When(/^I switch to Input panel of language settings$/) do
end
Then(/^the language list of ULS should use Autonym font$/) do
on(PanelPage).uls_language_name_item("en").style("font-family").should match /Autonym'?, ?sans-serif/
on(PanelPage).uls_language_name_item('en').style('font-family').should match /Autonym'?, ?sans-serif/
end
Then(/^I should see (.*) as the selected input language$/) do |language|