-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Campbell
committed
Mar 15, 2016
1 parent
5460088
commit a99df3d
Showing
5 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 1,28 @@ | ||
require File.expand_path('../../spec_helper', __FILE__) | ||
require File.expand_path('../spec_helper', __FILE__) | ||
|
||
class MockExternalSource | ||
def initialize | ||
end | ||
|
||
def fetch | ||
end | ||
end | ||
|
||
module Pod | ||
describe DeployDownloader do | ||
it "should download source from main repo" do | ||
|
||
before do | ||
@downloader = DeployDownloader.new(nil) | ||
@source = MockExternalSource.new | ||
end | ||
|
||
it "should download source from external repo" do | ||
it "should download source from main repo" do | ||
ExternalSources.stubs(:from_dependency).returns(@source) | ||
@source.expects(:fetch) | ||
@downloader.download(nil) | ||
end | ||
|
||
it "should download source from external repo" do | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters