[Specs] Fix for master repo changes

This commit is contained in:
Fabio Pelosin
2013-02-11 17:55:59 +01:00
parent 109af82eae
commit 49eafba940
4 changed files with 6 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ module Pod
it "resolves subspecs" do
@podfile = Podfile.new do
platform :ios
pod 'RestKit/Network'
pod 'RestKit/Network', '0.10.3'
pod 'RestKit/ObjectMapping/XML'
end
resolver = Resolver.new(@podfile, nil, stub('sandbox'))
@@ -88,7 +88,7 @@ module Pod
it "includes all the subspecs of a specification node" do
@podfile = Podfile.new do
platform :ios
pod 'RestKit'
pod 'RestKit', '0.10.3'
end
resolver = Resolver.new(@podfile, nil, stub('sandbox'))
resolver.resolve.values.flatten.map(&:name).sort.should == %w{

View File

@@ -69,9 +69,9 @@ describe "Pod::Source" do
end
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.name.should == 'RestKit'
set.name.should == 'ShareKit'
set.sources.map(&:name).should == %w| master |
end