summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-04-05 20:56:07 +0900
committerShinya Maeda <shinya@gitlab.com>2018-04-05 20:56:07 +0900
commit2dcbaf9f0eb4c63d7cbe3252b20220e798ee0079 (patch)
tree80b4c04546b4c8ed8e545e901fe2c0469379245e
parentb2025caad3a509c0fa5503e5fc8427fc4c9defc1 (diff)
downloadgitlab-ce-44665-fix-db-trace-stream-by-raw-access.tar.gz
-rw-r--r--spec/controllers/projects/jobs_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/projects/jobs_controller_spec.rb b/spec/controllers/projects/jobs_controller_spec.rb
index 20a826cc198..b9a979044fe 100644
--- a/spec/controllers/projects/jobs_controller_spec.rb
+++ b/spec/controllers/projects/jobs_controller_spec.rb
@@ -535,7 +535,8 @@ describe Projects::JobsController do
it 'returns not_found' do
response = subject
- expect(response).to have_gitlab_http_status(:not_found)
+ expect(response).to have_gitlab_http_status(:ok)
+ expect(response.body).to eq ''
end
end