From d69a27f3bb5111822e1065f385a53b6ee99cb16a Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 2 May 2012 12:35:16 -0500 Subject: [PATCH] Fix failing hg provider spec caused by refactoring in commit f1120f2d9b121097b7e77709328144af330d0b34 --- spec/unit/puppet/provider/vcsrepo/hg_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/puppet/provider/vcsrepo/hg_spec.rb b/spec/unit/puppet/provider/vcsrepo/hg_spec.rb index 53e5596..6f32d44 100644 --- a/spec/unit/puppet/provider/vcsrepo/hg_spec.rb +++ b/spec/unit/puppet/provider/vcsrepo/hg_spec.rb @@ -74,7 +74,7 @@ describe_provider :vcsrepo, :hg, :resource => {:path => '/tmp/vcsrepo'} do context "when it is the same as the current SHA", :resource => {:revision => '34e6012c783a'} do it "should return it" do - provider.expects(:hg).with('tags').never + provider.expects(:hg).with('tags').returns(fixture(:hg_tags)) provider.revision.should == resource.value(:revision) end end