[browser test] Prefer string interpolation instead of string concatenation

Following Ruby coding convention[1].

Also fixes "no implicit conversion of nil into String (TypeError)"
error.

1: https://github.com/styleguide/ruby

Change-Id: I3bcf9ba08476117921de7d5a242f3726d8b05efb
This commit is contained in:
Zeljko Filipin 2013-12-18 17:37:22 +01:00 committed by Zfilipin
parent 790d2c1307
commit 1cd761dad8

View file

@ -2,7 +2,7 @@ class VisualEditorPage
include PageObject include PageObject
include URL include URL
page_url URL.url("User:" + ENV["MEDIAWIKI_USER"]) page_url URL.url("User:#{ENV['MEDIAWIKI_USER']}")
div(:container_disabled, class: 'oo-ui-widget oo-ui-widget-disabled oo-ui-flaggableElement-constructive oo-ui-pushButtonWidget') div(:container_disabled, class: 'oo-ui-widget oo-ui-widget-disabled oo-ui-flaggableElement-constructive oo-ui-pushButtonWidget')
div(:content, class: 've-ce-documentNode ve-ce-branchNode') div(:content, class: 've-ce-documentNode ve-ce-branchNode')