1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Update git_spec.rb

This commit is contained in:
dimitrid 2014-12-05 01:56:05 -05:00
parent cd5bb9524b
commit a6d46e54fe

View file

@ -31,7 +31,7 @@ module Capistrano
describe "#check" do
it "should test the repo url" do
context.expects(:repo_url).returns(:url)
context.expects(:execute).with(:git, :'ls-remote -h', :url).returns(true)
context.expects(:execute).with(:git, :'ls-remote --heads', :url).returns(true)
subject.check
end