spec/kitchen/config_spec.rb in test-kitchen-1.18.0 vs spec/kitchen/config_spec.rb in test-kitchen-1.19.0
- old
+ new
@@ -61,10 +61,11 @@
log_root: "/tmp/logs",
test_base_path: "/testing/yo",
log_level: :debug,
log_overwrite: false,
colorize: false,
+ debug: true,
}
end
let(:default_kitchen_config) do
{
@@ -161,9 +162,21 @@
it "uses true by default" do
opts.delete(:colorize)
config.colorize.must_equal true
+ end
+ end
+
+ describe "#debug" do
+ it "returns its debug" do
+ config.debug.must_equal true
+ end
+
+ it "uses false by default" do
+ opts.delete(:debug)
+
+ config.debug.must_equal false
end
end
describe "#platforms" do
before do