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
4a0d6098
Commit
4a0d6098
authored
Nov 14, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Validator] Test that pods are built per platform
parent
5aada475
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
validator_spec.rb
spec/unit/validator_spec.rb
+9
-0
No files found.
spec/unit/validator_spec.rb
View file @
4a0d6098
...
@@ -82,6 +82,15 @@ module Pod
...
@@ -82,6 +82,15 @@ module Pod
sut
.
validation_dir
.
should
.
exist
sut
.
validation_dir
.
should
.
exist
end
end
it
"builds the pod per platform"
do
file
=
write_podspec
(
stub_podspec
)
sut
=
Validator
.
new
(
file
)
sut
.
expects
(
:install_pod
).
twice
sut
.
expects
(
:build_pod
).
twice
sut
.
expects
(
:check_file_patterns
).
twice
sut
.
validate
end
it
"uses the deployment target of the specification"
do
it
"uses the deployment target of the specification"
do
sut
=
Validator
.
new
(
podspec_path
)
sut
=
Validator
.
new
(
podspec_path
)
podfile
=
sut
.
send
(
:podfile_from_spec
,
:ios
,
'5.0'
)
podfile
=
sut
.
send
(
:podfile_from_spec
,
:ios
,
'5.0'
)
...
...
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