gitlab-org--gitlab-foss/spec/uploaders/avatar_uploader_spec.rb
2016-12-15 12:26:36 +01:00

18 lines
352 B
Ruby

require 'spec_helper'
describe AvatarUploader do
let(:user) { build(:user) }
subject { described_class.new(user) }
describe '#move_to_cache' do
it 'is true' do
expect(subject.move_to_cache).to eq(true)
end
end
describe '#move_to_store' do
it 'is true' do
expect(subject.move_to_store).to eq(true)
end
end
end