summaryrefslogtreecommitdiffstats
path: root/spec/unit/module_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/module_spec.rb')
-rwxr-xr-xspec/unit/module_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/module_spec.rb b/spec/unit/module_spec.rb
index ad72d88a3..8f1c794b2 100755
--- a/spec/unit/module_spec.rb
+++ b/spec/unit/module_spec.rb
@@ -504,9 +504,7 @@ describe Puppet::Module do
Puppet::Module.new("yay")
end
- describe "when loading the medatada file" do
- confine "Cannot test module metadata without json" => Puppet.features.json?
-
+ describe "when loading the medatada file", :if => Puppet.features.json? do
before do
@data = {
:license => "GPL2",