Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Failing test for the issue #535 #551

wants to merge 1 commit into from

2 participants


Test for the issue with sandbox pods caching.

@ap4y ap4y closed this

Sorry for not merging this. The architecture related to this issue has changed considerably and so the test was not suitable anymore. The issue should be fixed now. Thanks for taking the time submit the pull.


No worries Fabio. Thanks for the fix!

@jzapater jzapater referenced this pull request from a commit in jzapater/CocoaPods
Chakrit Wichian [PSTCollectionView] Specify exact commit sha instead of HEAD. #551 1be7eb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 24, 2012
  1. @ap4y

    Added test for the issue #535

    ap4y committed
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 0 deletions.
  1. +15 −0 spec/unit/sandbox_spec.rb
15 spec/unit/sandbox_spec.rb
@@ -113,4 +113,19 @@
@sandbox.installed_pod_named('BananaLib', Pod::Platform.ios).should.eql pod
@sandbox.local_pod_for_spec(spec, Pod::Platform.ios).should.eql pod
+ it "returns a LocalPod for a subspec which source is expected to be in the sandbox" do
+ (@sandbox.root + 'Local Podspecs').mkdir
+ FileUtils.cp(fixture('chameleon') + 'Chameleon.podspec', @sandbox.root + 'Local Podspecs')
+ spec1 = Pod::Specification.from_file(@sandbox.root + 'Local Podspecs/Chameleon.podspec', 'Chameleon/UIKit')
+ spec2 = Pod::Specification.from_file(@sandbox.root + 'Local Podspecs/Chameleon.podspec', 'Chameleon/StoreKit')
+ pod1 = @sandbox.local_pod_for_spec(spec1, Pod::Platform.osx)
+ 'Chameleon/UIKit'
+ pod1.specifications.should.eql [spec1]
+ pod2 = @sandbox.local_pod_for_spec(spec2, Pod::Platform.osx)
+ 'Chameleon/StoreKit'
+ pod2.specifications.should.eql [spec2]
+ end
Something went wrong with that request. Please try again.