features/step_definitions/community_steps.rb in stove-5.2.0 vs features/step_definitions/community_steps.rb in stove-6.0.0
- old
+ new
@@ -1,6 +1,6 @@
-Given /^the community server has the cookbooks?:$/ do |table|
+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,
@@ -8,10 +8,10 @@
category: 'Other',
))
end
end
-Then /^the community server will( not)? have the cookbooks?:$/ do |negate, table|
+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