summaryrefslogtreecommitdiff
path: root/spec/models/protected_branch_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 12:12:02 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 12:12:02 +0200
commite3d7ce2cc482a730b2dc63ca09057b22a960b998 (patch)
treecdb873ae8cb22bada0bcccff2961b88c8bc9bc12 /spec/models/protected_branch_spec.rb
parent0a94640e328ab30dcf90e65ba79242bc1aa77a57 (diff)
downloadgitlab-ce-e3d7ce2cc482a730b2dc63ca09057b22a960b998.tar.gz
Tests are fixed now
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 0835666a101..c4d2e2f49f5 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -39,13 +39,4 @@ describe ProtectedBranch do
branch.destroy
end
end
-
- describe '#commit' do
- let(:branch) { create(:protected_branch) }
-
- it 'commits itself to its project' do
- branch.project.repository.should_receive(:commit).with(branch.name)
- branch.commit
- end
- end
end