spec/ppl/application/bootstrap_spec.rb in ppl-1.12.0 vs spec/ppl/application/bootstrap_spec.rb in ppl-1.13.0
- old
+ new
@@ -90,9 +90,21 @@
it "should contain the 'version' command" do
@bootstrap.command_suite.find_command("version").should_not be nil
end
end
+ describe "#git_commands" do
+ it "should contain the 'pull' command" do
+ @bootstrap.git_commands[0].name.should eq "pull"
+ end
+ it "should contain the 'push' command" do
+ @bootstrap.git_commands[1].name.should eq "push"
+ end
+ it "should contain the 'remote' command" do
+ @bootstrap.git_commands[2].name.should eq "remote"
+ end
+ end
+
describe "#configuration" do
it "should return a Ppl::Application::Configuration" do
@bootstrap.configuration.should be_a(Ppl::Application::Configuration)
end
end