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
cc958fde
Commit
cc958fde
authored
Oct 24, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UserProjectIntegrator] Clean up.
parent
2421ef03
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+0
-0
user_project_integrator_spec.rb
spec/functional/user_project_integrator_spec.rb
+6
-19
No files found.
lib/cocoapods/installer/user_project_integrator.rb
View file @
cc958fde
This diff is collapsed.
Click to expand it.
spec/functional/user_project_integrator_spec.rb
View file @
cc958fde
...
...
@@ -3,24 +3,13 @@ require File.expand_path('../../spec_helper', __FILE__)
describe
Pod
::
Installer
::
UserProjectIntegrator
do
extend
SpecHelper
::
TemporaryDirectory
def
integrate!
@integrator
=
Pod
::
Installer
::
UserProjectIntegrator
.
new
(
@podfile
)
@integrator
.
integrate!
@sample_project
=
Xcodeproj
::
Project
.
new
(
@sample_project_path
)
end
before
do
config
.
silent
=
true
@sample_project_path
=
SpecHelper
.
create_sample_app_copy_from_fixture
(
'SampleProject'
)
config
.
project_root
=
@sample_project_path
.
dirname
sample_project_path
=
@sample_project_path
sample_project_path
=
SpecHelper
.
create_sample_app_copy_from_fixture
(
'SampleProject'
)
config
.
project_root
=
sample_project_path
.
dirname
@podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
xcodeproj
sample_project_path
,
'Test'
=>
:debug
link_with
'SampleProject'
# this is an app target!
pod
'JSONKit'
target
:test_runner
,
:exclusive
=>
true
do
...
...
@@ -28,12 +17,10 @@ describe Pod::Installer::UserProjectIntegrator do
pod
'Kiwi'
end
end
@sample_project
=
Xcodeproj
::
Project
.
new
(
@sample_project_path
)
end
before
do
integrate!
@sample_project_path
=
sample_project_path
@integrator
=
Pod
::
Installer
::
UserProjectIntegrator
.
new
(
@podfile
)
@integrator
.
integrate!
@sample_project
=
Xcodeproj
::
Project
.
new
(
sample_project_path
)
end
it
'adds references to the Pods static libraries to the Frameworks group'
do
...
...
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