spec/scm/push_spec.rb in rubygems-tasks-0.1.2 vs spec/scm/push_spec.rb in rubygems-tasks-0.2.0
- old
+ new
@@ -6,9 +6,10 @@
describe Gem::Tasks::SCM::Push do
describe "#push!" do
context "git" do
it "should run `git push --tags`" do
subject.project.stub!(:scm).and_return(:git)
+ subject.should_receive(:run).with('git', 'push')
subject.should_receive(:run).with('git', 'push', '--tags')
subject.push!
end
end