[Fix #2833] Move /support files to /fixtures

This commit is contained in:
gregoirenovel 2018-10-16 00:01:53 +02:00
parent 758c47343f
commit baf69acbcb
48 changed files with 52 additions and 52 deletions

View file

@ -32,7 +32,7 @@ describe CommentaireService do
end
context 'when it has a file' do
let(:file) { Rack::Test::UploadedFile.new("./spec/support/files/piece_justificative_0.pdf", 'application/pdf') }
let(:file) { Rack::Test::UploadedFile.new("./spec/fixtures/files/piece_justificative_0.pdf", 'application/pdf') }
it 'saves the attached file' do
expect(commentaire.file).to be_present