Fix test by assigning the proper SHA

This commit is contained in:
Lin Jen-Shin 2016-08-16 01:43:58 +08:00
parent 16b63664f9
commit d8dfa56e95
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ feature 'Download buttons in tags page', feature: true do
given(:pipeline) do
create(:ci_pipeline,
project: project,
sha: project.commit.sha,
sha: project.commit(tag).sha,
ref: tag,
status: status)
end