MDL-55329 behat: PyStrings should end with : (colon)

This commit is contained in:
Rajesh Taneja
2016-07-27 07:02:09 +08:00
parent 4eeb5e469b
commit 85f20080a0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ class behat_forms extends behat_base {
/**
* Sets the specified value to the field.
*
* @Given /^I set the field "(?P<field_string>(?:[^"]|\\")*)" to multiline$/
* @Given /^I set the field "(?P<field_string>(?:[^"]|\\")*)" to multiline:?$/
* @throws ElementNotFoundException Thrown by behat_base::find
* @param string $field
* @param PyStringNode $value
@@ -36,7 +36,7 @@ Feature: Users can be required to specify certain fields when adding entries to
| Field name | Required Two-Option Checkbox |
| Field description | Required Two-Option Checkbox |
| Required | yes |
And I set the field "Options" to multiline
And I set the field "Options" to multiline:
"""
RTOC Option 1
RTOC Option 2
@@ -83,7 +83,7 @@ Feature: Users can be required to specify certain fields when adding entries to
| Field name | Required Two-Option Multimenu |
| Field description | Required Two-Option Multimenu |
| Required | yes |
And I set the field "Options" to multiline
And I set the field "Options" to multiline:
"""
Option 1
Option 2