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

This commit is contained in:
Lin Jen-Shin 2016-08-19 18:46:15 +08:00
parent 1aba3a5c0e
commit eadb1dc547
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ feature 'Download buttons in branches page', feature: true do
given(:pipeline) do
create(:ci_pipeline,
project: project,
sha: project.commit.sha,
ref: project.default_branch,
sha: project.commit('binary-encoding').sha,
ref: 'binary-encoding', # make sure the branch is in the 1st page!
status: status)
end