summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/puppet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application/puppet.rb')
-rwxr-xr-x[-rw-r--r--]spec/unit/application/puppet.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application/puppet.rb b/spec/unit/application/puppet.rb
index ca1203405..00fe1ddea 100644..100755
--- a/spec/unit/application/puppet.rb
+++ b/spec/unit/application/puppet.rb
@@ -331,6 +331,8 @@ describe "Puppet" do
end
describe "the 'apply' command" do
+ confine "JSON library is missing; cannot test applying catalogs" => Puppet.features.json?
+
before do
#Puppet::Resource::Catalog.stubs(:json_create).returns Puppet::Resource::Catalog.new
JSON.stubs(:parse).returns Puppet::Resource::Catalog.new