diff options
| author | Luke Kanies <luke@reductivelabs.com> | 2010-03-23 10:35:00 -0700 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | eb0a4b5833476b51417a7047b5fb6e05843ff05b (patch) | |
| tree | 746e6652fbc8ce35ed58237d5341976da7be4343 /spec/unit/application | |
| parent | f4ef039245e14d278955f0692296511e4e45c744 (diff) | |
| download | puppet-eb0a4b5833476b51417a7047b5fb6e05843ff05b.tar.gz puppet-eb0a4b5833476b51417a7047b5fb6e05843ff05b.tar.xz puppet-eb0a4b5833476b51417a7047b5fb6e05843ff05b.zip | |
Fixing fingerprint tests to work with new log validation
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'spec/unit/application')
| -rwxr-xr-x | spec/unit/application/agent.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/application/agent.rb b/spec/unit/application/agent.rb index cbfd2d72a..782dcfca5 100755 --- a/spec/unit/application/agent.rb +++ b/spec/unit/application/agent.rb @@ -564,14 +564,14 @@ describe Puppet::Application[:agent] do it "should fingerprint the certificate if it exists" do @host.expects(:certificate).returns(@cert) - @cert.expects(:fingerprint).with(:MD5) + @cert.expects(:fingerprint).with(:MD5).returns "fingerprint" @puppetd.fingerprint end it "should fingerprint the certificate request if no certificate have been signed" do @host.expects(:certificate).returns(nil) @host.expects(:certificate_request).returns(@cert) - @cert.expects(:fingerprint).with(:MD5) + @cert.expects(:fingerprint).with(:MD5).returns "fingerprint" @puppetd.fingerprint end |
