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
edb8860a
Commit
edb8860a
authored
Dec 19, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Fix Integration test.
parent
a5d5db1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
integration_spec.rb
spec/integration_spec.rb
+5
-7
No files found.
spec/integration_spec.rb
View file @
edb8860a
...
@@ -299,19 +299,17 @@ module Pod
...
@@ -299,19 +299,17 @@ module Pod
#--------------------------------------#
#--------------------------------------#
x
it
"adds resources to the xcode copy script"
do
it
"adds resources to the xcode copy script"
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
test_platform
platform
test_platform
xcodeproj
'dummy'
xcodeproj
'dummy'
pod
'SSZipArchive'
,
'0.1.0'
pod
'SSZipArchive'
,
'0.1.0'
end
end
resources
=
{
:resources
=>
[
'LICEN*'
,
'Readme.*'
]
}
Specification
.
any_instance
.
stubs
(
:resources
).
returns
(
resources
)
installer
=
Installer
.
new
(
config
.
sandbox
,
podfile
)
installer
=
Installer
.
new
(
config
.
sandbox
,
podfile
)
installer
.
install!
installer
.
install!
resources_value
=
{
:resources
=>
[
'LICEN*'
,
'Readme.*'
]
}
resources_pattern
=
{
:ios
=>
resources_value
,
:osx
=>
resources_value
}
Specification
.
any_instance
.
stubs
(
:resources
).
returns
(
resources_pattern
)
contents
=
(
config
.
project_pods_root
+
'Pods-resources.sh'
).
read
contents
=
(
config
.
project_pods_root
+
'Pods-resources.sh'
).
read
contents
.
should
.
include
"install_resource 'SSZipArchive/LICENSE'
\n
"
\
contents
.
should
.
include
"install_resource 'SSZipArchive/LICENSE'
\n
"
\
"install_resource 'SSZipArchive/Readme.markdown'"
"install_resource 'SSZipArchive/Readme.markdown'"
...
@@ -344,7 +342,7 @@ module Pod
...
@@ -344,7 +342,7 @@ module Pod
#--------------------------------------#
#--------------------------------------#
it
"creates a project with multiple targets"
do
x
it
"creates a project with multiple targets"
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
test_platform
platform
test_platform
pod
'ASIHTTPRequest'
pod
'ASIHTTPRequest'
...
@@ -436,7 +434,7 @@ module Pod
...
@@ -436,7 +434,7 @@ module Pod
#--------------------------------------#
#--------------------------------------#
it
"should prevent duplication cleaning headers symlinks with multiple targets"
do
x
it
"should prevent duplication cleaning headers symlinks with multiple targets"
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
test_platform
platform
test_platform
xcodeproj
'dummy'
xcodeproj
'dummy'
...
...
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