Skip to content

Commit

Permalink
Preparing to test multiple sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Campbell committed Mar 15, 2016
1 parent b22f2d7 commit 06e553e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
15 changes: 11 additions & 4 deletions spec/command/deploy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 139,20 @@ module Pod
@command.run
end

# TODO: Reducing duplicates
describe 'when pod is from non master repo source' do

# TODO: Patches
it 'should fetch source from other repo' do

# Figure out how to test external source here.
# - Pod should be defined in Pod and Lockfile
# - Pod should define another repo source
# - Download method should try each source until it gets a hit
# - If there isn't a hit then it should forward the method.

# Figure out how to handle location
# ExternalSources.stubs(:from_dependency).returns(@source)
# @source.expects(:fetch)
# @command.run
end
end
end
end
end
6 changes: 0 additions & 6 deletions spec/command/deploy_transformer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 123,6 @@ module Pod
podfile.dependencies.should.include dependency
end
end

# TODO: Reducing duplicates

# Figure out how to test external source here.

# TODO: Test collect_podspec_dependencies as well
end
end
end

0 comments on commit 06e553e

Please sign in to comment.