diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-19 18:46:15 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-19 18:46:15 +0800 |
commit | eadb1dc547ac1d0e3eb964d077f0b1580d588a95 (patch) | |
tree | 71b40febbfb2e197657a2c6407c4a226eeb74255 | |
parent | 1aba3a5c0e7c2b727f4317aab19bbc662f0fd727 (diff) | |
download | gitlab-ce-eadb1dc547ac1d0e3eb964d077f0b1580d588a95.tar.gz |
Make sure the branch we're testing is on the 1st page!
-rw-r--r-- | spec/features/projects/branches/download_buttons_spec.rb | 4 |
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 |