features/step_definitions/filesystem_steps.rb in berkshelf-1.0.0.rc3 vs features/step_definitions/filesystem_steps.rb in berkshelf-1.0.0
- old
+ new
@@ -141,11 +141,11 @@
contains "require 'thor/scmversion'"
end
}
end
-Then /^I should have a new cookbook skeleton "(.*?)" without Bundler support$/ do |name|
+Then /^I should have a new cookbook skeleton "(.*?)" with no Bundler support$/ do |name|
cb_path = Pathname.new(current_dir).join(name)
cb_path.should have_structure {
directory "attributes"
directory "definitions"
directory "files" do
@@ -169,16 +169,16 @@
file "Berksfile"
no_file "Gemfile"
}
end
-Then /^I should have a new cookbook skeleton "(.*?)" without Git support$/ do |name|
+Then /^I should have a new cookbook skeleton "(.*?)" with no Git support$/ do |name|
Pathname.new(current_dir).join(name).should have_structure {
no_file ".gitignore"
}
end
-Then /^I should have a new cookbook skeleton "(.*?)" without Vagrant support$/ do |name|
+Then /^I should have a new cookbook skeleton "(.*?)" with no Vagrant support$/ do |name|
Pathname.new(current_dir).join(name).should have_structure {
file "Gemfile" do
does_not_contain "gem 'vagrant'"
end
no_file "Vagrantfile"