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
d40eef53
Commit
d40eef53
authored
Aug 19, 2017
by
Danielle Tomlinson
Committed by
Samuel Giddins
Feb 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove #verify_framework_usage spec
parent
6f4f4e44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
target_validator_spec.rb
spec/unit/installer/xcode/target_validator_spec.rb
+0
-20
No files found.
spec/unit/installer/xcode/target_validator_spec.rb
View file @
d40eef53
...
@@ -359,26 +359,6 @@ module Pod
...
@@ -359,26 +359,6 @@ module Pod
lambda
{
@validator
.
validate!
}.
should
.
not
.
raise
lambda
{
@validator
.
validate!
}.
should
.
not
.
raise
end
end
end
end
#-------------------------------------------------------------------------#
describe
'#verify_framework_usage'
do
it
'raises when Swift pods are used without explicit `use_frameworks!`'
do
fixture_path
=
ROOT
+
'spec/fixtures'
config
.
repos_dir
=
fixture_path
+
'spec-repos'
podfile
=
Pod
::
Podfile
.
new
do
platform
:ios
,
'8.0'
project
'SampleProject/SampleProject'
pod
'OrangeFramework'
,
:path
=>
(
fixture_path
+
'orange-framework'
).
to_s
pod
'matryoshka'
,
:path
=>
(
fixture_path
+
'matryoshka'
).
to_s
target
'SampleProject'
end
lockfile
=
generate_lockfile
@validator
=
create_validator
(
config
.
sandbox
,
podfile
,
lockfile
)
should
.
raise
(
Informative
)
{
@validator
.
validate!
}.
message
.
should
.
match
/use_frameworks/
end
end
end
end
end
end
end
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