lib/ refactoring. Module Gitlabhq renamed to Gitlab
This commit is contained in:
parent
8ceb94081a
commit
3272620f72
20 changed files with 87 additions and 85 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue