[Pkg-puppet-devel] [facter] 214/352: (fact-273) Remove a test which was a subset of the following test

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit fae7a76aca25806e299c4d38f3bc7d19a125ccb8
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Wed Feb 5 13:46:45 2014 -0800

    (fact-273) Remove a test which was a subset of the following test
---
 spec/unit/core/resolvable_spec.rb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/spec/unit/core/resolvable_spec.rb b/spec/unit/core/resolvable_spec.rb
index a35bce5..a237ed3 100644
--- a/spec/unit/core/resolvable_spec.rb
+++ b/spec/unit/core/resolvable_spec.rb
@@ -34,11 +34,6 @@ describe Facter::Core::Resolvable do
       expect(subject.value).to eq('stuff')
     end
 
-    it "returns nil if an exception was raised" do
-      subject.expects(:resolve_value).raises RuntimeError, "kaboom!"
-      expect(subject.value).to eq nil
-    end
-
     it "logs a warning if an exception was raised" do
       subject.expects(:resolve_value).raises RuntimeError, "kaboom!"
       Facter.expects(:warn).with('Could not retrieve resolvable: kaboom!')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list