Fix test with cloud storage enabled

This commit is contained in:
Xavier J 2016-09-16 15:40:30 +02:00
parent cd4848a916
commit ccd9c0898d
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
remote_storage: false
remote_storage: true

View file

@ -285,7 +285,7 @@ shared_examples 'description_controller_spec_POST_piece_justificatives_for_owner
'piece_justificative_'+all_pj_type[0].to_s => piece_justificative_0,
'piece_justificative_'+all_pj_type[1].to_s => piece_justificative_1} }
context 'when user is the owner' do
context 'when user is the owner', vcr: {cassette_name: 'controllers_users_description_controller_pieces_justificatives'} do
before do
sign_in user
end