diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 12:12:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 12:12:02 +0200 |
commit | e3d7ce2cc482a730b2dc63ca09057b22a960b998 (patch) | |
tree | cdb873ae8cb22bada0bcccff2961b88c8bc9bc12 /spec/models/protected_branch_spec.rb | |
parent | 0a94640e328ab30dcf90e65ba79242bc1aa77a57 (diff) | |
download | gitlab-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.rb | 9 |
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 |