Skip to content

Commit

Permalink
Fix failing test. Output was correct, just needed a sort.
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephPecoraro committed Jan 16, 2010
1 parent 18e5c14 commit 4516b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/runner_spec.rb
Expand Up @@ -189,7 +189,7 @@
it "should return array of valid command names" do
command('foo bar') {}
command('foo bar foo') {}
command_runner.valid_command_names_from('foo', 'bar', 'foo').should == ['foo bar', 'foo bar foo']
command_runner.valid_command_names_from('foo', 'bar', 'foo').sort.should == ['foo bar', 'foo bar foo']
end

it "should return empty array when no possible command names exist" do
Expand Down

0 comments on commit 4516b33

Please sign in to comment.