diff options
Diffstat (limited to 'spec/uploaders/namespace_file_uploader_spec.rb')
-rw-r--r-- | spec/uploaders/namespace_file_uploader_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/uploaders/namespace_file_uploader_spec.rb b/spec/uploaders/namespace_file_uploader_spec.rb index 02381123ba5..0db7f82dcbd 100644 --- a/spec/uploaders/namespace_file_uploader_spec.rb +++ b/spec/uploaders/namespace_file_uploader_spec.rb @@ -13,9 +13,9 @@ RSpec.describe NamespaceFileUploader do it_behaves_like 'builds correct paths' do let(:patterns) do { - store_dir: %r[uploads/-/system/namespace/\d+], + store_dir: %r{uploads/-/system/namespace/\d+}, upload_path: identifier, - absolute_path: %r[#{CarrierWave.root}/uploads/-/system/namespace/\d+/#{identifier}] + absolute_path: %r{#{CarrierWave.root}/uploads/-/system/namespace/\d+/#{identifier}} } end end @@ -30,7 +30,7 @@ RSpec.describe NamespaceFileUploader do it_behaves_like 'builds correct paths' do let(:patterns) do { - store_dir: %r[namespace/\d+/\h+], + store_dir: %r{namespace/\d+/\h+}, upload_path: identifier } end |