Commit 9093a3bc authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Rubocop] Fix indentation in installer spec

parent 15f101a0
......@@ -203,21 +203,21 @@ module Pod
describe 'Downloading dependencies' do
it 'installs head pods' do
podfile = Podfile.new do
platform :osx, '10.10'
pod 'AFNetworking/NSURLSession', :head
end
@installer.stubs(:podfile).returns(podfile)
@installer.stubs(:lockfile).returns(nil)
Downloader::Git.any_instance.expects(:download_head).once
Downloader::Git.any_instance.expects(:checkout_options).returns({})
@installer.prepare
@installer.resolve_dependencies
@installer.send(:root_specs).map(&:version).map(&:head?).should == [true]
@installer.download_dependencies
UI.output.should.include 'HEAD based on 2.4.1'
end
it 'installs head pods' do
podfile = Podfile.new do
platform :osx, '10.10'
pod 'AFNetworking/NSURLSession', :head
end
@installer.stubs(:podfile).returns(podfile)
@installer.stubs(:lockfile).returns(nil)
Downloader::Git.any_instance.expects(:download_head).once
Downloader::Git.any_instance.expects(:checkout_options).returns({})
@installer.prepare
@installer.resolve_dependencies
@installer.send(:root_specs).map(&:version).map(&:head?).should == [true]
@installer.download_dependencies
UI.output.should.include 'HEAD based on 2.4.1'
end
describe '#install_pod_sources' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment