Sha256: 480470b1429f5dfbd7ebb2ab12efa0ac0b32c201b4834493dc76e846e9e3775d
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
Given /^the supermarket has the cookbooks?:$/ do |table| table.raw.each do |name, version| version ||= '0.0.0' CommunityZero::RSpec.store.add(CommunityZero::Cookbook.new( name: name, version: version, category: 'Other', )) end end Then /^the supermarket will( not)? have the cookbooks?:$/ do |negate, table| table.raw.each do |name, version| cookbook = CommunityZero::RSpec.store.find(name, version) if negate expect(cookbook).to be_nil else expect(cookbook).to_not be_nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stove-6.0.0 | features/step_definitions/community_steps.rb |