Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
4b78767c
Commit
4b78767c
authored
Feb 02, 2014
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[spec] Fix git deprecation warnings.
parent
affa2857
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
push_spec.rb
spec/functional/command/push_spec.rb
+1
-1
repo_spec.rb
spec/functional/command/repo_spec.rb
+1
-1
sources_manager_spec.rb
spec/unit/sources_manager_spec.rb
+1
-1
No files found.
spec/functional/command/push_spec.rb
View file @
4b78767c
...
@@ -54,7 +54,7 @@ module Pod
...
@@ -54,7 +54,7 @@ module Pod
`git remote add origin
#{
@upstream
}
`
`git remote add origin
#{
@upstream
}
`
`git remote -v`
`git remote -v`
`git fetch -q`
`git fetch -q`
`git branch --set-upstream
master origin/
master`
`git branch --set-upstream
-to=origin/master
master`
end
end
# prepare the spec
# prepare the spec
...
...
spec/functional/command/repo_spec.rb
View file @
4b78767c
...
@@ -18,7 +18,7 @@ module Pod
...
@@ -18,7 +18,7 @@ module Pod
`git remote add origin
#{
upstream
}
`
`git remote add origin
#{
upstream
}
`
`git remote -v`
`git remote -v`
`git fetch -q`
`git fetch -q`
`git branch --set-upstream
master origin/
master`
`git branch --set-upstream
-to=origin/master
master`
end
end
lambda
{
command
(
'repo'
,
'update'
).
run
}.
should
.
not
.
raise
lambda
{
command
(
'repo'
,
'update'
).
run
}.
should
.
not
.
raise
end
end
...
...
spec/unit/sources_manager_spec.rb
View file @
4b78767c
...
@@ -94,7 +94,7 @@ module Pod
...
@@ -94,7 +94,7 @@ module Pod
`git remote add origin
#{
upstream
}
`
`git remote add origin
#{
upstream
}
`
`git remote -v`
`git remote -v`
`git fetch -q`
`git fetch -q`
`git branch --set-upstream
master origin/
master`
`git branch --set-upstream
-to=origin/master
master`
end
end
config
.
repos_dir
=
SpecHelper
.
tmp_repos_path
config
.
repos_dir
=
SpecHelper
.
tmp_repos_path
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment