spec/support/knife.rb in berkshelf-0.6.0.beta2 vs spec/support/knife.rb in berkshelf-0.6.0.beta3
- old
+ new
@@ -7,10 +7,10 @@
def load_knife_config(path)
if File.exist?(path)
Chef::Config.from_file(path)
ENV["CHEF_CONFIG"] = path
else
- raise "Cannot continue; '#{path}' must exist and have testing credentials."
+ raise "Cannot continue; '#{path}' must exist and have testing credentials." unless ENV['CI']
end
end
end
end
end