summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-08-02 18:05:33 +0900
committerShinya Maeda <shinya@gitlab.com>2018-08-02 18:05:33 +0900
commit7a68f970684760a621ddf14d9c7de2f00bbb50c0 (patch)
treeeecde3bf2f34bcf1a14183431a4098dc438c3cae /spec/requests
parent8e0558eac46834dbc6946fc2d1a1cb860e297c4b (diff)
downloadgitlab-ce-7a68f970684760a621ddf14d9c7de2f00bbb50c0.tar.gz
Fix fixture path in runner spec
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/runner_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb
index 0f41e46cdd5..43ceb332cfb 100644
--- a/spec/requests/api/runner_spec.rb
+++ b/spec/requests/api/runner_spec.rb
@@ -1449,7 +1449,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
context 'when artifact_type is junit' do
context 'when artifact_format is gzip' do
- let(:file_upload) { fixture_file_upload('spec/fixtures/junit.xml.gz') }
+ let(:file_upload) { fixture_file_upload('spec/fixtures/junit/junit.xml.gz') }
let(:params) { { artifact_type: :junit, artifact_format: :gzip } }
it 'stores junit test report' do
@@ -1461,7 +1461,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
end
context 'when artifact_format is raw' do
- let(:file_upload) { fixture_file_upload('spec/fixtures/junit.xml.gz') }
+ let(:file_upload) { fixture_file_upload('spec/fixtures/junit/junit.xml.gz') }
let(:params) { { artifact_type: :junit, artifact_format: :raw } }
it 'returns an error' do