gitlab-org--gitlab-foss/spec/uploaders/avatar_uploader_spec.rb

19 lines
356 B
Ruby
Raw Normal View History

2016-08-18 10:31:44 -04:00
require 'spec_helper'
describe AvatarUploader do
let(:user) { build(:user) }
subject { described_class.new(user) }
describe '#move_to_cache' do
2017-01-02 06:35:15 -05:00
it 'is false' do
expect(subject.move_to_cache).to eq(false)
2016-08-18 10:31:44 -04:00
end
end
describe '#move_to_store' do
2017-01-02 06:35:15 -05:00
it 'is false' do
expect(subject.move_to_store).to eq(false)
2016-08-18 10:31:44 -04:00
end
end
end