spreewald 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/spreewald/web_steps.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: UTF-8
|
2
2
|
|
3
|
-
# Most of cucumber-rails' original web steps plus a few of our own.
|
3
|
+
# Most of cucumber-rails' original web steps plus a few of our own.
|
4
4
|
#
|
5
5
|
# Note that cucumber-rails deprecated all its steps quite a while ago with the following
|
6
6
|
# deprecation notice. Decide for yourself whether you want to use them:
|
@@ -267,8 +267,8 @@ end
|
|
267
267
|
Then /^the "([^"]*)" checkbox(?: within (.*))? should be checked$/ do |label, parent|
|
268
268
|
patiently do
|
269
269
|
with_scope(parent) do
|
270
|
-
|
271
|
-
|
270
|
+
field = find_field(label)
|
271
|
+
field.should be_checked
|
272
272
|
end
|
273
273
|
end
|
274
274
|
end
|
@@ -277,8 +277,8 @@ end
|
|
277
277
|
Then /^the "([^"]*)" checkbox(?: within (.*))? should not be checked$/ do |label, parent|
|
278
278
|
patiently do
|
279
279
|
with_scope(parent) do
|
280
|
-
|
281
|
-
|
280
|
+
field = find_field(label)
|
281
|
+
field.should_not be_checked
|
282
282
|
end
|
283
283
|
end
|
284
284
|
end
|
@@ -504,7 +504,7 @@ end
|
|
504
504
|
# Example:
|
505
505
|
#
|
506
506
|
# Then "Sponsor" should link to "http://makandra.com"
|
507
|
-
#
|
507
|
+
#
|
508
508
|
Then /^"([^"]*)" should link to "([^"]*)"$/ do |link_label, target|
|
509
509
|
patiently do
|
510
510
|
link = find_link(link_label)
|
metadata
CHANGED
@@ -1,67 +1,75 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
5
11
|
platform: ruby
|
6
|
-
authors:
|
12
|
+
authors:
|
7
13
|
- Tobias Kraze
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
17
|
+
|
18
|
+
date: 2014-08-04 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
14
21
|
name: cucumber-rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
22
|
prerelease: false
|
22
|
-
|
23
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
24
26
|
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
34
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: cucumber
|
35
36
|
prerelease: false
|
36
|
-
|
37
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
38
40
|
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
48
46
|
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: capybara
|
49
50
|
prerelease: false
|
50
|
-
|
51
|
-
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
52
54
|
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
description: A collection of cucumber steps we use in our projects, including steps to check HTML, tables, emails and some utility methods.
|
63
|
+
email:
|
58
64
|
- tobias@kraze.eu
|
59
|
-
executables:
|
65
|
+
executables:
|
60
66
|
- spreewald
|
61
67
|
extensions: []
|
68
|
+
|
62
69
|
extra_rdoc_files: []
|
63
|
-
|
64
|
-
|
70
|
+
|
71
|
+
files:
|
72
|
+
- .gitignore
|
65
73
|
- LICENSE
|
66
74
|
- README.md
|
67
75
|
- Rakefile
|
@@ -144,30 +152,39 @@ files:
|
|
144
152
|
- tests/shared/features/shared/web_steps.feature
|
145
153
|
- tests/shared/features/support/paths.rb
|
146
154
|
homepage: https://github.com/makandra/spreewald
|
147
|
-
licenses:
|
155
|
+
licenses:
|
148
156
|
- MIT
|
149
|
-
metadata: {}
|
150
157
|
post_install_message:
|
151
158
|
rdoc_options: []
|
152
|
-
|
159
|
+
|
160
|
+
require_paths:
|
153
161
|
- lib
|
154
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
-
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
156
165
|
- - ">="
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
|
159
|
-
|
160
|
-
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
hash: 3
|
168
|
+
segments:
|
169
|
+
- 0
|
170
|
+
version: "0"
|
171
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
161
174
|
- - ">="
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
hash: 3
|
177
|
+
segments:
|
178
|
+
- 0
|
179
|
+
version: "0"
|
164
180
|
requirements: []
|
181
|
+
|
165
182
|
rubyforge_project:
|
166
|
-
rubygems_version:
|
183
|
+
rubygems_version: 1.8.29
|
167
184
|
signing_key:
|
168
|
-
specification_version:
|
185
|
+
specification_version: 3
|
169
186
|
summary: Collection of useful cucumber steps.
|
170
|
-
test_files:
|
187
|
+
test_files:
|
171
188
|
- tests/rails-2.3/Gemfile
|
172
189
|
- tests/rails-2.3/Gemfile.lock
|
173
190
|
- tests/rails-2.3/Rakefile
|
@@ -226,3 +243,4 @@ test_files:
|
|
226
243
|
- tests/shared/features/shared/table_steps.feature
|
227
244
|
- tests/shared/features/shared/web_steps.feature
|
228
245
|
- tests/shared/features/support/paths.rb
|
246
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 0d0f730a0329075536b6192fc96f82b4bc8d1e71
|
4
|
-
data.tar.gz: ef7d2eb664d117eafa5e0b57d12f94f2b487ee40
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 4e28eb4a813726c43bb2ef49402b107b31f68c4e5a47aa9864f8d79851f2219d7a5834c18ec1fb7f83bd34017f6b2e10a888459feb589fc11536600e87986759
|
7
|
-
data.tar.gz: 784350fa08f55de3c49ce894673f485077699fe9cbf38fa53b8900f0cf45d2f24fd501e757d8bb68a9b7c79e40768dbe27da6dda328fe7d44039db51ef570b47
|