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
2c9862bd
Commit
2c9862bd
authored
Apr 14, 2012
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make specs green, the xcconfig filename should not start with ${SRCROOT}.
parent
53946968
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
user_project_integrator_spec.rb
spec/functional/user_project_integrator_spec.rb
+1
-1
integration_spec.rb
spec/integration_spec.rb
+1
-1
No files found.
spec/functional/user_project_integrator_spec.rb
View file @
2c9862bd
...
@@ -50,7 +50,7 @@ describe Pod::Installer::UserProjectIntegrator do
...
@@ -50,7 +50,7 @@ describe Pod::Installer::UserProjectIntegrator do
it
'sets the Pods xcconfig as the base config for each build configuration'
do
it
'sets the Pods xcconfig as the base config for each build configuration'
do
@podfile
.
target_definitions
.
each
do
|
_
,
definition
|
@podfile
.
target_definitions
.
each
do
|
_
,
definition
|
target
=
@sample_project
.
targets
.
where
(
:name
=>
definition
.
link_with
.
first
)
target
=
@sample_project
.
targets
.
where
(
:name
=>
definition
.
link_with
.
first
)
xcconfig_file
=
@sample_project
.
files
.
where
(
:path
=>
"
${SRCROOT}/
Pods/
#{
definition
.
xcconfig_name
}
"
)
xcconfig_file
=
@sample_project
.
files
.
where
(
:path
=>
"Pods/
#{
definition
.
xcconfig_name
}
"
)
target
.
build_configurations
.
each
do
|
config
|
target
.
build_configurations
.
each
do
|
config
|
config
.
base_configuration
.
should
==
xcconfig_file
config
.
base_configuration
.
should
==
xcconfig_file
end
end
...
...
spec/integration_spec.rb
View file @
2c9862bd
...
@@ -400,7 +400,7 @@ else
...
@@ -400,7 +400,7 @@ else
target
=
project
.
targets
.
first
target
=
project
.
targets
.
first
target
.
build_configurations
.
each
do
|
config
|
target
.
build_configurations
.
each
do
|
config
|
config
.
base_configuration
.
path
.
should
==
'
${SRCROOT}/
Pods/Pods.xcconfig'
config
.
base_configuration
.
path
.
should
==
'Pods/Pods.xcconfig'
end
end
target
.
frameworks_build_phases
.
first
.
files
.
should
.
include
libPods
target
.
frameworks_build_phases
.
first
.
files
.
should
.
include
libPods
# should be the last phase
# should be the last phase
...
...
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