Fixed Style/SpaceInsideParens RuboCop offense

Bug: 117989
Change-Id: I3418ad3b0265903171e3ee7603eeea22569387b4
This commit is contained in:
Željko Filipin
2015-11-18 12:02:38 +01:00
parent 71707e11a9
commit 022efbfa8a
4 changed files with 7 additions and 15 deletions

View File

@@ -15,11 +15,11 @@ class IMEPage
text_field(:search_input, id: 'searchInput')
def ime_input_method_menu_onscreen?
browser.execute_script( "
browser.execute_script("
var $selectorMenu = $( '.imeselector-menu' ),
menuLeft = $selectorMenu.offset().left,
menuRight = menuLeft + $selectorMenu.width();
return ( menuLeft >= 0 && menuRight <= $( window ).width() );" )
return ( menuLeft >= 0 && menuRight <= $( window ).width() );")
end
end