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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 709d07946974f2672901a9f966855630ac3ca27d
4
- data.tar.gz: 847de1e801ab0b818e998d7e604ba9cdd135679c
3
+ metadata.gz: 2d917bf9ee9a913658b27acf1e018783a3c2d891
4
+ data.tar.gz: 33018041b12ed7513cbc5fcc0e49fcc7b1c0eb01
5
5
  SHA512:
6
- metadata.gz: 73bf43623319113a56267672962ea94350ce57b06c48ea1ce32af0e2ab5bc74e4bcccb4356783bca3529cadac4de9553c0de1cd7fd25041f8d2ba1c0ae48c229
7
- data.tar.gz: 7e2c63b5da5e5a6b30d920896d55e8b3c7375f2f29be55047180d4ffeb28763b5fd510aedf5b0f4c447a251c5deaa47eca6039e2f781e721e07b2ffae9736bdf
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
@@ -6,6 +6,6 @@ module Cucumber
6
6
  # This module defines default steps used by all of Blendle Ruby projects.
7
7
  #
8
8
  module BlendleSteps
9
- VERSION = '0.8.0'.freeze
9
+ VERSION = '0.8.1'.freeze
10
10
  end
11
11
  end
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.0
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-24 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport