diff options
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/indirector/ssl_file.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/indirector/ssl_file.rb b/spec/unit/indirector/ssl_file.rb index 31f82856e..2671f964f 100755 --- a/spec/unit/indirector/ssl_file.rb +++ b/spec/unit/indirector/ssl_file.rb @@ -111,8 +111,8 @@ describe Puppet::Indirector::SslFile do FileTest.expects(:exist?).with(@certpath).returns false end - it "should fail" do - lambda { @searcher.destroy(@request) }.should raise_error(Puppet::Error) + it "should return nil" do + @searcher.destroy(@request).should be_false end end |
