Fix test according to remote_storage feature activation
This commit is contained in:
parent
1b6b3127c6
commit
9e3b1d73de
1 changed files with 5 additions and 1 deletions
|
@ -138,7 +138,11 @@ describe Users::DescriptionController, type: :controller, vcr: { cassette_name:
|
||||||
subject { dossier.cerfa.first }
|
subject { dossier.cerfa.first }
|
||||||
|
|
||||||
it 'content' do
|
it 'content' do
|
||||||
|
if Features.remote_storage
|
||||||
expect(subject['content']).to eq('cerfa-3dbb3535-5388-4a37-bc2d-778327b9f999.pdf')
|
expect(subject['content']).to eq('cerfa-3dbb3535-5388-4a37-bc2d-778327b9f999.pdf')
|
||||||
|
else
|
||||||
|
expect(subject['content']).to eq('cerfa.pdf')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'dossier_id' do
|
it 'dossier_id' do
|
||||||
|
|
Loading…
Reference in a new issue