diff options
author | James Turnbull <james@lovedthanlost.net> | 2012-05-12 21:32:56 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2012-05-12 21:32:56 -0700 |
commit | 1cc2c98efe923ac98151c59ee026057e664608dd (patch) | |
tree | 53f8606d51180e09eabf01ff967bc80226e7f2e1 /spec | |
parent | 462b1d69bbc5d6c171dcee02a3d88d304acd630e (diff) | |
parent | d69a27f3bb5111822e1065f385a53b6ee99cb16a (diff) |
Merge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16a
Fix failing hg provider spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/puppet/provider/vcsrepo/hg_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |