spec/ppl/application/bootstrap_spec.rb in ppl-2.2.0 vs spec/ppl/application/bootstrap_spec.rb in ppl-2.3.0
- old
+ new
@@ -41,10 +41,16 @@
it "should return a Ppl::Command::Email" do
@bootstrap.command_email.should be_a(Ppl::Command::Email)
end
end
+ describe "#command_grep" do
+ it "should return a command" do
+ @bootstrap.command_grep.should be_a(Ppl::Application::Command)
+ end
+ end
+
describe "#command_help" do
it "should return a Ppl::Command::Help" do
@bootstrap.command_help.should be_a(Ppl::Command::Help)
end
end
@@ -434,9 +440,12 @@
it "should contain the 'completion' command" do
@bootstrap.command_suite.find_command("completion").should_not be nil
end
it "should contain the 'email' command" do
@bootstrap.command_suite.find_command("email").should_not be nil
+ end
+ it "should contain the 'grep' command" do
+ @bootstrap.command_suite.find_command("grep").should_not be nil
end
it "should contain the 'init' command" do
@bootstrap.command_suite.find_command("init").should_not be nil
end
it "should contain the 'ls' command" do