summaryrefslogtreecommitdiff
path: root/spec/features/projects/branches
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/branches')
-rw-r--r--spec/features/projects/branches/download_buttons_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/branches/download_buttons_spec.rb b/spec/features/projects/branches/download_buttons_spec.rb
index a223786777b..04058300570 100644
--- a/spec/features/projects/branches/download_buttons_spec.rb
+++ b/spec/features/projects/branches/download_buttons_spec.rb
@@ -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