features/step_definitions/filesystem_steps.rb in berkshelf-0.3.2 vs features/step_definitions/filesystem_steps.rb in berkshelf-0.3.3
- old
+ new
@@ -48,10 +48,10 @@
Then /^the file "(.*?)" in the cookbook "(.*?)" should contain:$/ do |file_name, cookbook_name, content|
Pathname.new(current_dir).join(cookbook_name).should have_structure {
file "Berksfile" do
contains content
end
- file ".chefignore"
+ file "chefignore"
}
end
Then /^the directory "(.*?)" should have the following files:$/ do |name, files|
check_file_presence(files.raw.map{|file_row| File.join(name, file_row[0])}, true)