Sha256: f4d1048b5cf7125cd11fb2bcf948c1c1b3066ebde01e5271a3dda7bef88025ec
Contents?: true
Size: 759 Bytes
Versions: 3
Compression:
Stored size: 759 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) # The CocoaPods namespace # module CLAide describe Command::Plugins::List do extend SpecHelper::PluginsStubs before do UI_OUT.reopen @command = CLAide::Command::Plugins::List.new CLAide::ARGV.new [] end it 'registers itself' do Command.parse(%w(plugins list)). should.be.instance_of Command::Plugins::List end #--- Output printing it 'prints out all plugins' do stub_plugins_json_request @command.run UI_OUT.string.should.include('github.com/CLAide/claide-fake-1') UI_OUT.string.should.include('github.com/CLAide/claide-fake-2') UI_OUT.string.should.include('github.com/chneukirchen/bacon') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
claide-plugins-0.9.2 | spec/command/plugins/list_spec.rb |
claide-plugins-0.9.1 | spec/command/plugins/list_spec.rb |
claide-plugins-0.9.0 | spec/command/plugins/list_spec.rb |