Commit eadb1dc5 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make sure the branch we're testing is on the 1st page!

parent 1aba3a5c
...@@ -9,8 +9,8 @@ feature 'Download buttons in branches page', feature: true do ...@@ -9,8 +9,8 @@ feature 'Download buttons in branches page', feature: true do
given(:pipeline) do given(:pipeline) do
create(:ci_pipeline, create(:ci_pipeline,
project: project, project: project,
sha: project.commit.sha, sha: project.commit('binary-encoding').sha,
ref: project.default_branch, ref: 'binary-encoding', # make sure the branch is in the 1st page!
status: status) status: status)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment