diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-01-31 10:59:35 -0500 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-06 08:48:56 -0500 |
commit | 939391af7bc471f1588ab75ab0cf08d8e4286a05 (patch) | |
tree | 54bdc9b0ef372395373d765f69ce00ecff26a4c6 /spec/uploaders | |
parent | b176b2ca8d87ac7a090dd4b67f6a9e87c8753389 (diff) | |
download | gitlab-ce-939391af7bc471f1588ab75ab0cf08d8e4286a05.tar.gz |
improvements from feedback14256-upload-destroy-removes-file
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/file_uploader_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/file_uploader_spec.rb b/spec/uploaders/file_uploader_spec.rb index 80af2a206af..6a92e7fae51 100644 --- a/spec/uploaders/file_uploader_spec.rb +++ b/spec/uploaders/file_uploader_spec.rb @@ -66,7 +66,7 @@ describe FileUploader do it 'prune the store directory' do expect { uploader.remove! } - .to change { File.exists?(store_dir) }.from(true).to(false) + .to change { File.exist?(store_dir) }.from(true).to(false) end end end |