Sha256: 262c1d2cfa1a757fd8c7cd1c9d91807b0a1a83f1eb5c3f61f4d3cf03a5cfdf77
Contents?: true
Size: 883 Bytes
Versions: 6
Compression:
Stored size: 883 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Pod describe Command::Spec::Packagethk do describe 'Subspecs' do after do Dir.glob("KFData-*").each { |dir| Pathname.new(dir).rmtree } end it 'can package a single subspec' do Pod::Config.instance.sources_manager.stubs(:search).returns(nil) command = Command.parse(%w{ package spec/fixtures/KFData.podspec --subspecs=Core}) command.run true.should == true # To make the test pass without any shoulds end it 'can package a list of subspecs' do Pod::Config.instance.sources_manager.stubs(:search).returns(nil) command = Command.parse(%w{ 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
6 entries across 6 versions & 1 rubygems