spec/shelly/cli/deploy_spec.rb in shelly-0.4.4 vs spec/shelly/cli/deploy_spec.rb in shelly-0.4.5
- old
+ new
@@ -130,9 +130,10 @@
it "should ensure that user is inside git repo" do
hooks(@deploys, :pending).should include(:inside_git_repository?)
end
it "should fetch git references from shelly" do
+ $stdout.should_receive(:puts).with("Running: git fetch shelly")
@app.should_receive(:git_fetch_remote)
@app.stub(:pending_commits => "commit")
invoke(@deploys, :pending)
end