diff options
Diffstat (limited to 'spec/unit/ssl/certificate_authority.rb')
| -rwxr-xr-x | spec/unit/ssl/certificate_authority.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/ssl/certificate_authority.rb b/spec/unit/ssl/certificate_authority.rb index b0be0e450..a4581fb21 100755 --- a/spec/unit/ssl/certificate_authority.rb +++ b/spec/unit/ssl/certificate_authority.rb @@ -293,7 +293,7 @@ describe Puppet::SSL::CertificateAuthority do end it "should return the current content of the serial file" do - FileTest.expects(:exist?).with(@path).returns true + FileTest.stubs(:exist?).with(@path).returns true File.expects(:read).with(@path).returns "0002" @ca.next_serial.should == 2 |
