Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.448 kb
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
Jump to Line
Something went wrong with that request. Please try again.