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