Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-08-02 10:05:00 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-08-02 10:05:00 +0400
commit4a437cdf860880e45614f8afaeb6156f1c917f79 (patch)
treeb2c0e246d89b319b28bbdf945e2c89354bc9cb56 /spec/models/protected_branch_spec.rb
parent50831b1db26935178f3fedbbb92adf54dc478c5d (diff)
Remove useless Protected branch test
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index becc1be4d76..6724fb8db1b 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -37,19 +37,6 @@ describe ProtectedBranch do
end
end
- describe '#update_repository' do
- let(:gitolite) { mock }
-
- subject { ProtectedBranch.new(:project => project) }
-
- it "updates the branch's project repo permissions" do
- Gitlab::GitHost.should_receive(:system).and_return(gitolite)
- gitolite.should_receive(:update_project).with(project.path, project)
-
- subject.update_repository
- end
- end
-
describe '#commit' do
subject { ProtectedBranch.new(:project => project, :name => 'cant_touch_this') }