demarches-normaliennes/spec/uploaders/remote_downloader_spec.rb
2017-06-13 10:35:23 +02:00

11 lines
259 B
Ruby

require 'spec_helper'
describe RemoteDownloader do
let(:filename) { 'file_name.pdf' }
subject { described_class.new filename }
describe '#url' do
it { expect(subject.url).to eq 'https://storage.apientreprise.fr/tps_dev/file_name.pdf' }
end
end