diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-06-06 16:26:00 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-06-07 09:54:41 -0500 |
commit | b38c75b3dc2dc655377a1b4070cb6f5242594dbe (patch) | |
tree | 658f1ea057aa6785ea4f378378a800b2b82f9d7f /spec/features | |
parent | 6d165c740cecf6aff4c7ec0bbb962e7964c15f1b (diff) | |
download | gitlab-ce-b38c75b3dc2dc655377a1b4070cb6f5242594dbe.tar.gz |
Correct more usages of non-relative `fixture_file_upload` paths
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/jobs/permissions_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/projects/jobs/permissions_spec.rb b/spec/features/projects/jobs/permissions_spec.rb index 31abadf9bd6..e9588daf37d 100644 --- a/spec/features/projects/jobs/permissions_spec.rb +++ b/spec/features/projects/jobs/permissions_spec.rb @@ -88,8 +88,7 @@ describe 'Project Jobs Permissions' do describe 'artifacts page' do context 'when recent job has artifacts available' do before do - artifacts = Rails.root.join('spec/fixtures/ci_build_artifacts.zip') - archive = fixture_file_upload(artifacts, 'application/zip') + archive = fixture_file_upload('spec/fixtures/ci_build_artifacts.zip') job.update_attributes(legacy_artifacts_file: archive) end |