Fix project model spec

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-01-23 14:23:21 +02:00
parent 71851a7e4e
commit 573f1f4ade
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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