Project issue tracker functions refactored

This commit is contained in:
Andrew8xx8 2013-02-11 15:41:12 +04:00
parent 999fc2391b
commit 68a7ecdaaf
6 changed files with 52 additions and 29 deletions

View file

@ -1,16 +0,0 @@
require 'spec_helper'
describe IssuesTracker do
let(:project) { double('project') }
before do
@project = project
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
it 'returns url for issue' do
ololo
end
end