diff options
Diffstat (limited to 'spec/unit/resource_spec.rb')
-rwxr-xr-x | spec/unit/resource_spec.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb index 11ff904bb..ff31b2492 100755 --- a/spec/unit/resource_spec.rb +++ b/spec/unit/resource_spec.rb @@ -593,9 +593,7 @@ describe Puppet::Resource do end end - describe "when converting to pson" do - confine "Missing 'pson' library" => Puppet.features.pson? - + describe "when converting to pson", :if => Puppet.features.pson? do def pson_output_should @resource.class.expects(:pson_create).with { |hash| yield hash } end @@ -674,9 +672,7 @@ describe Puppet::Resource do end end - describe "when converting from pson" do - confine "Missing 'pson' library" => Puppet.features.pson? - + describe "when converting from pson", :if => Puppet.features.pson? do def pson_result_should Puppet::Resource.expects(:new).with { |hash| yield hash } end |