spec/capistrano/notifier/base_spec.rb in capistrano-notifier-0.1.2 vs spec/capistrano/notifier/base_spec.rb in capistrano-notifier-0.2.0
- old
+ new
@@ -19,6 +19,15 @@
it "uses the specified branch" do
subject.send(:branch).should == 'foo'
end
end
end
+
+ describe "#git_*" do
+ context "on initial deploy" do
+ it { subject.send(:git_log).should be_nil }
+ it { subject.send(:git_range).should be_nil }
+ it { subject.send(:git_current_revision).should be_nil }
+ it { subject.send(:git_previous_revision).should be_nil }
+ end
+ end
end