diff options
Diffstat (limited to 'spec/lib/safe_zip/extract_params_spec.rb')
-rw-r--r-- | spec/lib/safe_zip/extract_params_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/safe_zip/extract_params_spec.rb b/spec/lib/safe_zip/extract_params_spec.rb index 0ebfb7430c5..b0d787e09d5 100644 --- a/spec/lib/safe_zip/extract_params_spec.rb +++ b/spec/lib/safe_zip/extract_params_spec.rb @@ -6,8 +6,8 @@ RSpec.describe SafeZip::ExtractParams do let(:target_path) { Dir.mktmpdir("safe-zip") } let(:real_target_path) { File.realpath(target_path) } let(:params) { described_class.new(directories: directories, files: files, to: target_path) } - let(:directories) { %w(public folder/with/subfolder) } - let(:files) { %w(public/index.html public/assets/image.png) } + let(:directories) { %w[public folder/with/subfolder] } + let(:files) { %w[public/index.html public/assets/image.png] } after do FileUtils.remove_entry_secure(target_path) |