Sha256: 7a214faa2f655176e7a3dfdf2d4a52ff6e94528cfec38cfdcaeeb3b6520475a4
Contents?: true
Size: 914 Bytes
Versions: 2
Compression:
Stored size: 914 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Pod describe Command::Spec::PanglePackage do describe 'Subspecs' do after do Dir.glob("KFData-*").each { |dir| Pathname.new(dir).rmtree } end it 'can pangle-package a single subspec' do Pod::Config.instance.sources_manager.stubs(:search).returns(nil) command = Command.parse(%w{ pangle-package spec/fixtures/KFData.podspec --subspecs=Core}) command.run true.should == true # To make the test pass without any shoulds end it 'can pangle-package a list of subspecs' do Pod::Config.instance.sources_manager.stubs(:search).returns(nil) command = Command.parse(%w{ pangle-package spec/fixtures/KFData.podspec --subspecs=Core,Compatibility}) command.run true.should == true # To make the test pass without any shoulds end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-panglePackager-1.5.0.2 | spec/command/subspecs_spec.rb |
cocoapods-panglePackager-1.5.0.1 | spec/command/subspecs_spec.rb |