Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.502 kB
require File.expand_path('../../spec_helper', __FILE__)
describe "Pod::Downloader" do
it "returns a git downloader" do
downloader = Pod::Downloader.for_source(
'/path/to/pod_root',
:git => 'http://example.local/banana.git', :tag => 'v1.0',
)
downloader.should.be.instance_of Pod::Downloader::Git
downloader.pod_root.should == '/path/to/pod_root'
downloader.url.should == 'http://example.local/banana.git'
downloader.options.should == { :tag => 'v1.0' }
end
end
Jump to Line
Something went wrong with that request. Please try again.