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
83726076
Commit
83726076
authored
Jun 03, 2013
by
Michele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
File references and target installer tests updated for new sandbox layout.
parent
b1d0154e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
file_references_installer_spec.rb
spec/unit/installer/file_references_installer_spec.rb
+4
-4
target_installer_spec.rb
spec/unit/installer/target_installer_spec.rb
+1
-1
No files found.
spec/unit/installer/file_references_installer_spec.rb
View file @
83726076
...
...
@@ -23,11 +23,11 @@ module Pod
it
"adds the files references of the source files the Pods project"
do
@installer
.
install!
group_ref
=
@installer
.
pods_project
[
'Pods/
Generated/Sources/
BananaLib'
]
group_ref
=
@installer
.
pods_project
[
'Pods/BananaLib'
]
group_ref
.
should
.
be
.
not
.
nil
file_ref
=
@installer
.
pods_project
[
'Pods/
Generated/Sources/
BananaLib/Banana.m'
]
file_ref
=
@installer
.
pods_project
[
'Pods/BananaLib/Banana.m'
]
file_ref
.
should
.
be
.
not
.
nil
file_ref
.
path
.
should
==
"../../spec/fixtures/banana-lib/Classes/Banana.m"
file_ref
.
path
.
should
==
"../../
../
spec/fixtures/banana-lib/Classes/Banana.m"
end
it
"adds the files references of the local Pods in a dedicated group"
do
...
...
@@ -45,7 +45,7 @@ module Pod
group_ref
.
should
.
be
.
not
.
nil
file_ref
=
@installer
.
pods_project
[
'Resources/BananaLib/logo-sidebar.png'
]
file_ref
.
should
.
be
.
not
.
nil
file_ref
.
path
.
should
==
"../../spec/fixtures/banana-lib/Resources/logo-sidebar.png"
file_ref
.
path
.
should
==
"../../
../
spec/fixtures/banana-lib/Resources/logo-sidebar.png"
end
it
"links the build headers"
do
...
...
spec/unit/installer/target_installer_spec.rb
View file @
83726076
...
...
@@ -205,7 +205,7 @@ module Pod
build_files
=
@installer
.
library
.
target
.
source_build_phase
.
files
build_file
=
build_files
.
find
{
|
bf
|
bf
.
file_ref
.
name
==
'Pods-dummy.m'
}
build_file
.
should
.
be
.
not
.
nil
build_file
.
file_ref
.
path
.
should
==
'Pods-dummy.m'
build_file
.
file_ref
.
path
.
should
==
'
../
Pods-dummy.m'
dummy
=
config
.
sandbox
.
root
+
'Pods-dummy.m'
dummy
.
read
.
should
.
include?
(
'@interface PodsDummy_Pods'
)
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