summaryrefslogtreecommitdiff
path: root/spec/uploaders
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-01-31 10:59:35 -0500
committerMicaël Bergeron <mbergeron@gitlab.com>2018-02-06 08:48:56 -0500
commit939391af7bc471f1588ab75ab0cf08d8e4286a05 (patch)
tree54bdc9b0ef372395373d765f69ce00ecff26a4c6 /spec/uploaders
parentb176b2ca8d87ac7a090dd4b67f6a9e87c8753389 (diff)
downloadgitlab-ce-939391af7bc471f1588ab75ab0cf08d8e4286a05.tar.gz
improvements from feedback14256-upload-destroy-removes-file
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/file_uploader_spec.rb2
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