Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[spec] Fix git deprecation warnings.
  • Loading branch information
alloy committed Feb 2, 2014
1 parent affa285 commit 4b78767
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/functional/command/push_spec.rb
Expand Up @@ -54,7 +54,7 @@ def command(*a)
`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
Expand Down
2 changes: 1 addition & 1 deletion spec/functional/command/repo_spec.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/sources_manager_spec.rb
Expand Up @@ -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

Expand Down

0 comments on commit 4b78767

Please sign in to comment.