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
e39222e6
Commit
e39222e6
authored
Sep 08, 2016
by
Marcelo Fabri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Acknowledgements] Add failing test
parent
62f140f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
plist_spec.rb
spec/unit/generator/acknowledgements/plist_spec.rb
+9
-0
No files found.
spec/unit/generator/acknowledgements/plist_spec.rb
View file @
e39222e6
...
...
@@ -29,6 +29,15 @@ describe Pod::Generator::Plist do
}
end
it
'skips license type in hash when it is nil'
do
@spec
.
stubs
(
:license
).
returns
(
:type
=>
nil
)
@generator
.
hash_for_spec
(
@spec
).
should
==
{
:Type
=>
'PSGroupSpecifier'
,
:Title
=>
'POD_NAME'
,
:FooterText
=>
'LICENSE_TEXT'
,
}
end
it
'returns a correctly sanitized license hash for each pod'
do
license_text
=
'Copyright © 2013–2014 Boris Bügling'
@generator
.
stubs
(
:license_text
).
returns
(
license_text
)
...
...
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