Commit 4b78767c authored by Eloy Durán's avatar Eloy Durán

[spec] Fix git deprecation warnings.

parent affa2857
......@@ -54,7 +54,7 @@ module Pod
`git remote add origin #{@upstream}`
`git remote -v`
`git fetch -q`
`git branch --set-upstream master origin/master`
`git branch --set-upstream-to=origin/master master`
end
# prepare the spec
......
......@@ -18,7 +18,7 @@ module Pod
`git remote add origin #{upstream}`
`git remote -v`
`git fetch -q`
`git branch --set-upstream master origin/master`
`git branch --set-upstream-to=origin/master master`
end
lambda { command('repo', 'update').run }.should.not.raise
end
......
......@@ -94,7 +94,7 @@ module Pod
`git remote add origin #{upstream}`
`git remote -v`
`git fetch -q`
`git branch --set-upstream master origin/master`
`git branch --set-upstream-to=origin/master master`
end
config.repos_dir = SpecHelper.tmp_repos_path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment