spec/ppl/application/bootstrap_spec.rb in ppl-1.8.0 vs spec/ppl/application/bootstrap_spec.rb in ppl-1.9.0

- old
+ new

@@ -79,10 +79,13 @@ @bootstrap.command_suite.find_command("shell").should_not be nil end it "should contain the 'url' command" do @bootstrap.command_suite.find_command("url").should_not be nil end + it "should contain the 'version' command" do + @bootstrap.command_suite.find_command("version").should_not be nil + end end describe "#configuration" do it "should return a Ppl::Application::Configuration" do @bootstrap.configuration.should be_a(Ppl::Application::Configuration) @@ -108,9 +111,12 @@ it "should return a Ppl::Application::Router" do @bootstrap.router.should be_a(Ppl::Application::Router) end it "should set the 'help' command as the default" do @bootstrap.router.default.should eq "help" + end + it "should inject the user's aliases" do + @bootstrap.router.aliases.should be_a(Hash) end end describe "#shell" do before(:each) do