diff options
Diffstat (limited to 'spec/lib/extracts_path_spec.rb')
-rw-r--r-- | spec/lib/extracts_path_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/extracts_path_spec.rb b/spec/lib/extracts_path_spec.rb index 3ee729c93e8..cf4220175a7 100644 --- a/spec/lib/extracts_path_spec.rb +++ b/spec/lib/extracts_path_spec.rb @@ -7,8 +7,7 @@ describe ExtractsPath do before do @project = project - project.stub(:branches).and_return([stub(name: 'master'), stub(name: 'foo/bar/baz')]) - project.stub(:tags).and_return([stub(name: 'master'), stub(name: 'master')]) + project.stub(:ref_names).and_return(['master', 'foo/bar/baz', 'v1.0.0', 'v2.0.0']) end describe '#extract_ref' do |