spec/support/chef_api.rb in berkshelf-1.3.1 vs spec/support/chef_api.rb in berkshelf-1.4.0.rc1

- old
+ new

@@ -18,12 +18,12 @@ # # @param [#to_s] name # @param [#to_s] version def purge_cookbook(name, version = nil) if version.nil? - ridley.cookbook.delete_all(name, purge: true) + ridley.cookbook.delete_all(name) else - ridley.cookbook.delete(name, version, purge: true) + ridley.cookbook.delete(name, version) end rescue Ridley::Errors::HTTPNotFound true end