Fix dossier and invite dossier tests
This commit is contained in:
parent
fb16d4582d
commit
2ac0d2241f
2 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,8 @@ describe DossierDecorator do
|
|||
let(:dossier) { create(:dossier, created_at: Time.new(2015, 12, 24, 14, 10), updated_at: Time.new(2015, 12, 24, 14, 10)) }
|
||||
subject { dossier.decorate }
|
||||
|
||||
describe 'created_at' do
|
||||
subject { super().created_at }
|
||||
describe 'first_creation' do
|
||||
subject { super().first_creation }
|
||||
it { is_expected.to eq('24/12/2015 14:10') }
|
||||
end
|
||||
|
||||
|
|
|
@ -12,4 +12,5 @@ describe InviteDossierFacades do
|
|||
end
|
||||
|
||||
it { expect(subject.dossier).to eq dossier }
|
||||
it { expect(subject.commentaire_email).to eq email }
|
||||
end
|
Loading…
Reference in a new issue