spreewald 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spreewald/web_steps.rb +2 -2
- data/lib/spreewald_support/version.rb +1 -1
- metadata +4 -4
data/lib/spreewald/web_steps.rb
CHANGED
@@ -146,9 +146,9 @@ end
|
|
146
146
|
|
147
147
|
|
148
148
|
# Checks that an input field contains some value (allowing * as wildcard character)
|
149
|
-
Then /^the "([^"]*)" field should (not )?contain "([^"]*)"$/ do |
|
149
|
+
Then /^the "([^"]*)" field should (not )?contain "([^"]*)"$/ do |label, negate, expected_string|
|
150
150
|
patiently do
|
151
|
-
field = find_field(
|
151
|
+
field = find_field(label)
|
152
152
|
field_value = ((field.tag_name == 'textarea') && field.text.present?) ? field.text.strip : field.value
|
153
153
|
|
154
154
|
field_value.send(negate ? :should_not : :should, contain_with_wildcards(expected_string))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 7
|
10
|
+
version: 0.5.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Kraze
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-22 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|