2016-12-16 09:25:19 +01:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe BaseUploader do
|
|
|
|
let(:uploader) { described_class.new }
|
|
|
|
|
|
|
|
describe '#cache_dir' do
|
|
|
|
subject { uploader.cache_dir }
|
|
|
|
|
2018-09-04 14:43:03 +02:00
|
|
|
it { is_expected.to eq '/tmp/tps-test-cache' }
|
2016-12-16 09:25:19 +01:00
|
|
|
end
|
2017-04-04 15:27:04 +02:00
|
|
|
end
|