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
9093a3bc
Commit
9093a3bc
authored
Nov 05, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rubocop] Fix indentation in installer spec
parent
15f101a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
installer_spec.rb
spec/unit/installer_spec.rb
+15
-15
No files found.
spec/unit/installer_spec.rb
View file @
9093a3bc
...
@@ -203,21 +203,21 @@ module Pod
...
@@ -203,21 +203,21 @@ module Pod
describe
'Downloading dependencies'
do
describe
'Downloading dependencies'
do
it
'installs head pods'
do
it
'installs head pods'
do
podfile
=
Podfile
.
new
do
podfile
=
Podfile
.
new
do
platform
:osx
,
'10.10'
platform
:osx
,
'10.10'
pod
'AFNetworking/NSURLSession'
,
:head
pod
'AFNetworking/NSURLSession'
,
:head
end
end
@installer
.
stubs
(
:podfile
).
returns
(
podfile
)
@installer
.
stubs
(
:podfile
).
returns
(
podfile
)
@installer
.
stubs
(
:lockfile
).
returns
(
nil
)
@installer
.
stubs
(
:lockfile
).
returns
(
nil
)
Downloader
::
Git
.
any_instance
.
expects
(
:download_head
).
once
Downloader
::
Git
.
any_instance
.
expects
(
:download_head
).
once
Downloader
::
Git
.
any_instance
.
expects
(
:checkout_options
).
returns
({})
Downloader
::
Git
.
any_instance
.
expects
(
:checkout_options
).
returns
({})
@installer
.
prepare
@installer
.
prepare
@installer
.
resolve_dependencies
@installer
.
resolve_dependencies
@installer
.
send
(
:root_specs
).
map
(
&
:version
).
map
(
&
:head?
).
should
==
[
true
]
@installer
.
send
(
:root_specs
).
map
(
&
:version
).
map
(
&
:head?
).
should
==
[
true
]
@installer
.
download_dependencies
@installer
.
download_dependencies
UI
.
output
.
should
.
include
'HEAD based on 2.4.1'
UI
.
output
.
should
.
include
'HEAD based on 2.4.1'
end
end
describe
'#install_pod_sources'
do
describe
'#install_pod_sources'
do
...
...
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