spec/unit/module_spec.rb in puppet-2.6.4 vs spec/unit/module_spec.rb in puppet-2.6.5
- old
+ new
@@ -502,12 +502,10 @@
Puppet::Module.any_instance.expects(:load_metadata)
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",
:author => "luke",
:version => "1.0",