diff options
-rwxr-xr-x | spec/unit/ral/type/file.rb | 2 | ||||
-rwxr-xr-x | spec/unit/ssl/host.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/ral/type/file.rb b/spec/unit/ral/type/file.rb index 90346849a..83546bef0 100755 --- a/spec/unit/ral/type/file.rb +++ b/spec/unit/ral/type/file.rb @@ -10,8 +10,6 @@ describe Puppet::Type.type(:file) do @file = Puppet::Type::File.create(:name => @path) end - after { Puppet::Type::File.clear } - describe "when used with content and replace=>false" do before do @file[:content] = "foo" diff --git a/spec/unit/ssl/host.rb b/spec/unit/ssl/host.rb index a4972de9d..4a3fbbb83 100755 --- a/spec/unit/ssl/host.rb +++ b/spec/unit/ssl/host.rb @@ -236,7 +236,7 @@ describe Puppet::SSL::Host do end it "should return true and set its certificate if retrieval was successful" do - cert = stub 'cert', :content => "mycert" + cert = stub 'cert', :content => "mycert", :save => nil Puppet::SSL::Certificate.stubs(:find).returns cert @host.retrieve_signed_certificate.should be_true |