Merge pull request #23 from jmchilton/d69a27f3bb5111822e1065f385a53b6ee99cb16a

Fix failing hg provider spec
This commit is contained in:
James Turnbull 2012-05-12 21:32:56 -07:00
commit 1cc2c98efe
1 changed files with 1 additions and 1 deletions

View File

@ -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