Fix project model spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
71851a7e4e
commit
573f1f4ade
1 changed files with 2 additions and 2 deletions
|
@ -167,10 +167,10 @@ describe Project do
|
|||
context 'with namespace' do
|
||||
before do
|
||||
@group = create :group, name: 'gitlab'
|
||||
@project = create(:project, name: 'gitlab-ci', namespace: @group)
|
||||
@project = create(:project, name: 'gitlabhq', namespace: @group)
|
||||
end
|
||||
|
||||
it { @project.to_param.should == "gitlab/gitlab-ci" }
|
||||
it { @project.to_param.should == "gitlab/gitlabhq" }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue