Fix failing hg provider spec caused by refactoring in commit f1120f2d9b
This commit is contained in:
parent
462b1d69bb
commit
d69a27f3bb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user