mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
[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:
parent
790d2c1307
commit
1cd761dad8
|
@ -2,7 +2,7 @@ class VisualEditorPage
|
|||
include PageObject
|
||||
|
||||
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(:content, class: 've-ce-documentNode ve-ce-branchNode')
|
||||
|
|
Loading…
Reference in a new issue