diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/protected_branch_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb index ce79f674787..024b45f2cab 100644 --- a/spec/models/protected_branch_spec.rb +++ b/spec/models/protected_branch_spec.rb @@ -43,7 +43,7 @@ describe ProtectedBranch do subject { ProtectedBranch.new(:project => project) } it "updates the branch's project repo permissions" do - Gitlabhq::GitHost.should_receive(:system).and_return(gitolite) + Gitlab::GitHost.should_receive(:system).and_return(gitolite) gitolite.should_receive(:update_project).with(project.path, project) subject.update_repository |
