18 lines
359 B
Ruby
18 lines
359 B
Ruby
require 'spec_helper'
|
|
|
|
describe AttachmentUploader do
|
|
let(:issue) { build(:issue) }
|
|
subject { described_class.new(issue) }
|
|
|
|
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
|