diff options
Diffstat (limited to 'spec/views/projects/tags/index.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/tags/index.html.haml_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/views/projects/tags/index.html.haml_spec.rb b/spec/views/projects/tags/index.html.haml_spec.rb index ebd526284d1..ae59c1aa4b2 100644 --- a/spec/views/projects/tags/index.html.haml_spec.rb +++ b/spec/views/projects/tags/index.html.haml_spec.rb @@ -6,7 +6,11 @@ RSpec.describe 'projects/tags/index.html.haml' do let_it_be(:project) { create(:project, :repository) } let_it_be(:tags) { project.repository.tags } let_it_be(:git_tag) { project.repository.tags.last } - let_it_be(:release) { create(:release, project: project, sha: git_tag.target_commit.sha) } + let_it_be(:release) do + create(:release, project: project, + sha: git_tag.target_commit.sha, + tag: 'v1.1.0') + end let(:pipeline) { create(:ci_pipeline, :success, project: project, ref: git_tag.name, sha: release.sha) } |