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
f23ff798
Commit
f23ff798
authored
Apr 26, 2012
by
Will Pragnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some TODOs to acknowledgements_spec
parent
ee081939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
acknowledgements_spec.rb
spec/unit/generator/acknowledgements_spec.rb
+2
-0
No files found.
spec/unit/generator/acknowledgements_spec.rb
View file @
f23ff798
...
@@ -18,6 +18,7 @@ describe Pod::Generator::Acknowledgements do
...
@@ -18,6 +18,7 @@ describe Pod::Generator::Acknowledgements do
@acknowledgements
.
licenses
.
count
.
should
==
3
@acknowledgements
.
licenses
.
count
.
should
==
3
end
end
# TODO Test with a pod that has no licence
it
"returns a correctly formed license hash for each pod"
do
it
"returns a correctly formed license hash for each pod"
do
@acknowledgements
.
hash_for_pod
(
@pods
[
0
]).
should
==
{
@acknowledgements
.
hash_for_pod
(
@pods
[
0
]).
should
==
{
:Type
=>
"PSGroupSpecifier"
,
:Type
=>
"PSGroupSpecifier"
,
...
@@ -34,6 +35,7 @@ describe Pod::Generator::Acknowledgements do
...
@@ -34,6 +35,7 @@ describe Pod::Generator::Acknowledgements do
}
}
end
end
# TODO Test with a target_definition whose label isn't "Pods"
it
"adds
\"
Pods-
\"
to the beginning of the filename only if necessary"
do
it
"adds
\"
Pods-
\"
to the beginning of the filename only if necessary"
do
(
@acknowledgements
.
filename
.
start_with?
"Pods-"
).
should
.
be
.
true
(
@acknowledgements
.
filename
.
start_with?
"Pods-"
).
should
.
be
.
true
(
@acknowledgements
.
filename
.
start_with?
"Pods-Pods-"
).
should
.
be
.
false
(
@acknowledgements
.
filename
.
start_with?
"Pods-Pods-"
).
should
.
be
.
false
...
...
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