diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-02 12:35:15 +0100 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-03 15:37:32 +0100 |
commit | ec273b8d069bf3f9a12a2ffde545398cd2967eeb (patch) | |
tree | 76e85434455ceec9cbad2ba8b8f10b8107e4d28a /spec/uploaders | |
parent | 8dc2163ce580f1d71be1cf45e5dfcb2b4763d7bb (diff) | |
download | gitlab-ce-ec273b8d069bf3f9a12a2ffde545398cd2967eeb.tar.gz |
Copy, don't move uploaded avatar files
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/avatar_uploader_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/uploaders/avatar_uploader_spec.rb b/spec/uploaders/avatar_uploader_spec.rb index 1f0e8732587..76f5a4b42ed 100644 --- a/spec/uploaders/avatar_uploader_spec.rb +++ b/spec/uploaders/avatar_uploader_spec.rb @@ -5,14 +5,14 @@ describe AvatarUploader do subject { described_class.new(user) } describe '#move_to_cache' do - it 'is true' do - expect(subject.move_to_cache).to eq(true) + it 'is false' do + expect(subject.move_to_cache).to eq(false) end end describe '#move_to_store' do - it 'is true' do - expect(subject.move_to_store).to eq(true) + it 'is false' do + expect(subject.move_to_store).to eq(false) end end end |