Fixed styles, ProjectHook specs etc

This commit is contained in:
Dmitriy Zaporozhets 2013-01-05 00:35:38 +02:00
parent c6298678f5
commit e16cebac3e
22 changed files with 111 additions and 76 deletions

View file

@ -7,7 +7,7 @@ describe ExtractsPath do
before do
@project = project
project.stub(:ref_names).and_return(['master', 'foo/bar/baz', 'v1.0.0', 'v2.0.0'])
project.stub(repository: stub(ref_names: ['master', 'foo/bar/baz', 'v1.0.0', 'v2.0.0']))
project.stub(path_with_namespace: 'gitlab/gitlab-ci')
end