Sha256: 63ea86ea614f25e9bdb8b333350715e9df403534a06ea945dedccf53734aa504
Contents?: true
Size: 448 Bytes
Versions: 10
Compression:
Stored size: 448 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') describe "Command" do describe ".find" do before do reset_boson @top_level_command = create_command(:name=>'blah', :lib=>'bling') end it 'finds correct command when a subcommand of the same name exists' do Command.find('blah').should == @top_level_command end it 'finds nothing given nil' do Command.find(nil).should == nil end end end
Version data entries
10 entries across 10 versions & 1 rubygems