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
57678a9e
Commit
57678a9e
authored
Mar 31, 2015
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Sandbox Analyzer Spec] Fix broken English test titles
parent
9c9e14b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
sandbox_analyzer_spec.rb
spec/unit/installer/analyzer/sandbox_analyzer_spec.rb
+8
-8
No files found.
spec/unit/installer/analyzer/sandbox_analyzer_spec.rb
View file @
57678a9e
...
...
@@ -54,37 +54,37 @@ module Pod
@analyzer
.
send
(
:pod_added?
,
'BananaLib'
).
should
==
true
end
it
'considers
deleted a
Pod without any resolved specification'
do
it
'considers
a deleted
Pod without any resolved specification'
do
@analyzer
.
stubs
(
:resolved_pods
).
returns
([])
@analyzer
.
send
(
:pod_deleted?
,
'BananaLib'
).
should
==
true
end
it
'considers
changed a
Pod whose versions do not match'
do
it
'considers
a changed
Pod whose versions do not match'
do
@analyzer
.
stubs
(
:sandbox_version
).
returns
(
Version
.
new
(
999
))
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
'considers
changed a
Pod whose checksums do not match'
do
it
'considers
a changed
Pod whose checksums do not match'
do
@analyzer
.
stubs
(
:sandbox_checksum
).
returns
(
'SHA'
)
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
'considers
changed a
Pod whose activated specifications do not match'
do
it
'considers
a changed
Pod whose activated specifications do not match'
do
@analyzer
.
stubs
(
:sandbox_spec_names
).
returns
([
'BananaLib'
,
'BananaLib/Subspec'
])
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
'considers
changed a
Pod whose folder is empty'
do
it
'considers
a changed
Pod whose folder is empty'
do
@analyzer
.
stubs
(
:folder_empty?
).
returns
(
true
)
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
'considers
changed a
Pod which has been pre-downloaded'
do
it
'considers
a changed
Pod which has been pre-downloaded'
do
@sandbox
.
stubs
(
:predownloaded?
).
returns
(
true
)
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
"considers
changed a
Pod whose head state doesn't match"
do
it
"considers
a changed
Pod whose head state doesn't match"
do
@sandbox
.
stubs
(
:head_pod?
).
returns
(
true
)
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
...
...
@@ -95,7 +95,7 @@ module Pod
@analyzer
.
send
(
:pod_changed?
,
'BananaLib'
).
should
==
true
end
it
"doesn't consider
changed a
Pod whose specification is in head mode if not in update mode"
do
it
"doesn't consider
a changed
Pod whose specification is in head mode if not in update mode"
do
@sandbox
.
stubs
(
:head_pod?
).
returns
(
true
)
@analyzer
.
stubs
(
:sandbox_head_version?
).
returns
(
true
)
@analyzer
.
stubs
(
:update_mode?
).
returns
(
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