Commit 49eafba9 authored by Fabio Pelosin's avatar Fabio Pelosin

[Specs] Fix for master repo changes

parent 109af82e
Subproject commit f7176f4798d068d233dca5223ae4bd9c8059e830 Subproject commit 4ec575e4b074dcc87c44018cce656672a979b34a
Subproject commit 84ea24c2f3a5d463da1e7945c60fd3f33f73dee2 Subproject commit 7f3cc9e12b0a459582d606baa7fc906006965f54
...@@ -67,7 +67,7 @@ module Pod ...@@ -67,7 +67,7 @@ module Pod
it "resolves subspecs" do it "resolves subspecs" do
@podfile = Podfile.new do @podfile = Podfile.new do
platform :ios platform :ios
pod 'RestKit/Network' pod 'RestKit/Network', '0.10.3'
pod 'RestKit/ObjectMapping/XML' pod 'RestKit/ObjectMapping/XML'
end end
resolver = Resolver.new(@podfile, nil, stub('sandbox')) resolver = Resolver.new(@podfile, nil, stub('sandbox'))
...@@ -88,7 +88,7 @@ module Pod ...@@ -88,7 +88,7 @@ module Pod
it "includes all the subspecs of a specification node" do it "includes all the subspecs of a specification node" do
@podfile = Podfile.new do @podfile = Podfile.new do
platform :ios platform :ios
pod 'RestKit' pod 'RestKit', '0.10.3'
end end
resolver = Resolver.new(@podfile, nil, stub('sandbox')) resolver = Resolver.new(@podfile, nil, stub('sandbox'))
resolver.resolve.values.flatten.map(&:name).sort.should == %w{ resolver.resolve.values.flatten.map(&:name).sort.should == %w{
......
...@@ -69,9 +69,9 @@ describe "Pod::Source" do ...@@ -69,9 +69,9 @@ describe "Pod::Source" do
end end
it "searches the sets specifing a dependency on a subspec" do it "searches the sets specifing a dependency on a subspec" do
dep = Pod::Dependency.new('RestKit/JSON') dep = Pod::Dependency.new('ShareKit/Evernote')
set = Pod::Source.search(dep) set = Pod::Source.search(dep)
set.name.should == 'RestKit' set.name.should == 'ShareKit'
set.sources.map(&:name).should == %w| master | set.sources.map(&:name).should == %w| master |
end end
......
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