- Correction des tests suite à la modification du schéma de la base de données.

This commit is contained in:
Xavier J 2015-09-21 17:59:03 +02:00
parent 5f3a320f2f
commit b3383bec9f
51 changed files with 462 additions and 585 deletions

View file

@ -12,7 +12,7 @@ describe Cerfa do
describe 'empty?' do
subject { create(:cerfa, content: content) }
context 'when content exist' do
let(:content) { File.open('./spec/support/files/piece_jointe_388.pdf') }
let(:content) { File.open('./spec/support/files/piece_justificative_388.pdf') }
it { expect(subject).not_to be_empty }
end
context 'when content is nil' do