diff options
| author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-07-23 09:30:00 +0000 |
|---|---|---|
| committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-07-23 09:30:00 +0000 |
| commit | 3a4cb6d6759abbfd16e048413e8545d1d94e7d9e (patch) | |
| tree | d6631643d70462ee38936708107bbedefbb5f45f /spec/controllers/admin | |
| parent | 5e102f17f0ef16d0fd1eff98b9229fea2bc1fec9 (diff) | |
| download | gitlab-ce-3a4cb6d6759abbfd16e048413e8545d1d94e7d9e.tar.gz | |
Bring backward compatibility for request profiles
It seems that we missed the backward compatibility support
for profiles in the existing folder.
This commit also fixes some specs to be idempotent
and work in a temporary directory which not always
seems to be the case.
This commit also brings the profile_spec.rb which seems
to be missing.
Diffstat (limited to 'spec/controllers/admin')
| -rw-r--r-- | spec/controllers/admin/requests_profiles_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/requests_profiles_controller_spec.rb b/spec/controllers/admin/requests_profiles_controller_spec.rb index 289bb58c5a8..345f7720c25 100644 --- a/spec/controllers/admin/requests_profiles_controller_spec.rb +++ b/spec/controllers/admin/requests_profiles_controller_spec.rb @@ -23,7 +23,7 @@ describe Admin::RequestsProfilesController do end after do - File.unlink(test_file) + FileUtils.rm_rf(tmpdir) end context 'when loading HTML profile' do |
