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

@@ -11,13 +11,13 @@ When(/^I start editing a page$/) do
end
When(/^I select (.*?) font for the content language$/) do |font|
step "I open the Universal Language Selector"
step "I open Display panel of language settings"
step "I open Fonts panel of language settings"
step 'I open the Universal Language Selector'
step 'I open Display panel of language settings'
step 'I open Fonts panel of language settings'
step "I select #{font} font for the content language for the live preview"
step "I apply the changes"
step 'I apply the changes'
end
Then(/^I should see the edit area text being displayed using "(.*?)" font$/) do |font|
on(EditPage).editarea_element.style("font-family").should match(/^#{font}/)
on(EditPage).editarea_element.style('font-family').should match(/^#{font}/)
end