summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-07-03 17:01:13 -0400
committerDouwe Maan <douwe@selenight.nl>2016-07-06 18:51:01 -0400
commitddec2ed0dfb0981bf1f022f705470402e20ef9bc (patch)
tree97d0c4fef0049465f6cc91deea9a7c3cea85e943 /spec/controllers
parent5ffb848ee6ecb66d4ff1b2d2bb21968f44f33f7e (diff)
downloadgitlab-ce-ddec2ed0dfb0981bf1f022f705470402e20ef9bc.tar.gz
Add send_git_patch helper
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/merge_requests_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/merge_requests_controller_spec.rb b/spec/controllers/projects/merge_requests_controller_spec.rb
index 2d2fb87f14e..c4b57e77804 100644
--- a/spec/controllers/projects/merge_requests_controller_spec.rb
+++ b/spec/controllers/projects/merge_requests_controller_spec.rb
@@ -103,7 +103,7 @@ describe Projects::MergeRequestsController do
id: merge_request.iid,
format: :patch)
- expect(response.headers['Gitlab-Workhorse-Send-Data']).to start_with("git-format-patch:")
+ expect(response.headers[Gitlab::Workhorse::SEND_DATA_HEADER]).to start_with("git-format-patch:")
end
end
end