Fix bug with branches whose name contains slash
This commit is contained in:
parent
73d5e51a2d
commit
e25ddca0c4
2 changed files with 9 additions and 9 deletions
|
@ -7,8 +7,8 @@ describe ExtractsPath do
|
|||
|
||||
before do
|
||||
@project = project
|
||||
project.stub(:branches).and_return(['master', 'foo/bar/baz'])
|
||||
project.stub(:tags).and_return(['v1.0.0', 'v2.0.0'])
|
||||
project.stub(:branches).and_return([stub(name: 'master'), stub(name: 'foo/bar/baz')])
|
||||
project.stub(:tags).and_return([stub(name: 'master'), stub(name: 'master')])
|
||||
end
|
||||
|
||||
describe '#extract_ref' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue