cucumber-blendle-steps 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/cucumber/blendle/steps/model_steps.rb +11 -0
- data/lib/cucumber/blendle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d917bf9ee9a913658b27acf1e018783a3c2d891
|
4
|
+
data.tar.gz: 33018041b12ed7513cbc5fcc0e49fcc7b1c0eb01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20e9d7ab5f159c4ab4bf09e2ed4072e0a4d0d2691a9ca485d2c1460c7c197d7f14a87f1e061a353226b64938e3712f0a88f5c4fb5425e43c62b38239e03c7444
|
7
|
+
data.tar.gz: 4bad625fc513d7a267a63acbde8e92807e3d01951bbec29e5d48516874f9fc38be779acbeb537d99c400e1159fedd74fb047d36de8aab666638000e0407592f9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## [v0.8.0](https://github.com/blendle/cucumber-blendle-steps/tree/v0.8.0) (2016-04-24)
|
4
|
+
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.7.3...v0.8.0)
|
5
|
+
|
3
6
|
## [v0.7.3](https://github.com/blendle/cucumber-blendle-steps/tree/v0.7.3) (2016-04-24)
|
4
7
|
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.7.2...v0.7.3)
|
5
8
|
|
@@ -75,6 +75,17 @@ Then(/^the following (.+)? should( not)? exist:$/) do |object, negate, table|
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
+
# * Then there should be 5 item records
|
79
|
+
# * Then there should be 1 item record
|
80
|
+
# * Then there should be 0 item records
|
81
|
+
#
|
82
|
+
Then(/^there should be (\d+) (.+)? records?$/) do |count, object|
|
83
|
+
count = count.to_i
|
84
|
+
klass = object.tr(' ', '_').singularize.classify
|
85
|
+
|
86
|
+
assert_equal(klass.constantize.count, count)
|
87
|
+
end
|
88
|
+
|
78
89
|
# parse_row
|
79
90
|
#
|
80
91
|
# Given a Cucumber table row, parses the type "numbers (Array)" and converts the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-blendle-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Mertz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|