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
3feeaf38
Commit
3feeaf38
authored
Aug 22, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Command::Init] Update specs for recent changes
parent
bfe37a1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Gemfile.lock
Gemfile.lock
+1
-1
init_spec.rb
spec/functional/command/init_spec.rb
+7
-7
No files found.
Gemfile.lock
View file @
3feeaf38
...
@@ -17,7 +17,7 @@ GIT
...
@@ -17,7 +17,7 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
e2a6fb7466b26c3628c726271be60700bc635a62
revision:
9d2f8cef72466cb3f155a9a5a3cfb12c94802656
branch: master
branch: master
specs:
specs:
xcodeproj (0.9.0)
xcodeproj (0.9.0)
...
...
spec/functional/command/init_spec.rb
View file @
3feeaf38
...
@@ -73,13 +73,14 @@ module Pod
...
@@ -73,13 +73,14 @@ module Pod
open
(
config
.
default_podfile_path
,
'w'
)
{
|
f
|
f
<<
"pod 'AFNetworking'"
}
open
(
config
.
default_podfile_path
,
'w'
)
{
|
f
|
f
<<
"pod 'AFNetworking'"
}
Xcodeproj
::
Project
.
new
.
save_as
(
temporary_directory
+
'test.xcodeproj'
)
project
=
Xcodeproj
::
Project
.
new
project
.
new_target
(
:application
,
'AppA'
,
:ios
)
project
.
save_as
(
temporary_directory
+
'test.xcodeproj'
)
run_command
(
'init'
)
run_command
(
'init'
)
config
.
podfile
.
nil?
.
should
==
false
dependencies
=
config
.
podfile
.
target_definitions
[
"AppA"
].
dependencies
config
.
podfile
.
dependencies
.
length
.
should
==
1
dependencies
.
map
(
&
:name
).
should
==
[
"AFNetworking"
]
config
.
podfile
.
dependencies
.
first
.
name
.
should
==
"AFNetworking"
end
end
end
end
...
@@ -97,9 +98,8 @@ module Pod
...
@@ -97,9 +98,8 @@ module Pod
run_command
(
'init'
)
run_command
(
'init'
)
config
.
podfile
.
nil?
.
should
==
false
dependencies
=
config
.
podfile
.
target_definitions
[
"AppTests"
].
dependencies
config
.
podfile
.
dependencies
.
length
.
should
==
1
dependencies
.
map
(
&
:name
).
should
==
[
"Kiwi"
]
config
.
podfile
.
dependencies
.
first
.
name
.
should
==
"Kiwi"
end
end
end
end
...
...
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