Commit 7a68f970 authored by Shinya Maeda's avatar Shinya Maeda

Fix fixture path in runner spec

parent 8e0558ea
...@@ -1449,7 +1449,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do ...@@ -1449,7 +1449,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
context 'when artifact_type is junit' do context 'when artifact_type is junit' do
context 'when artifact_format is gzip' 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 } } let(:params) { { artifact_type: :junit, artifact_format: :gzip } }
it 'stores junit test report' do it 'stores junit test report' do
...@@ -1461,7 +1461,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do ...@@ -1461,7 +1461,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
end end
context 'when artifact_format is raw' do 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 } } let(:params) { { artifact_type: :junit, artifact_format: :raw } }
it 'returns an error' do it 'returns an error' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment