diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-02 18:05:33 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-02 18:05:33 +0900 |
commit | 7a68f970684760a621ddf14d9c7de2f00bbb50c0 (patch) | |
tree | eecde3bf2f34bcf1a14183431a4098dc438c3cae /spec/requests | |
parent | 8e0558eac46834dbc6946fc2d1a1cb860e297c4b (diff) | |
download | gitlab-ce-7a68f970684760a621ddf14d9c7de2f00bbb50c0.tar.gz |
Fix fixture path in runner spec
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 4 |
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 |