fix tests
This commit is contained in:
parent
698ea9185b
commit
3f11e09937
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ describe Dossier do
|
|||
|
||||
#TODO revoir le nommage
|
||||
describe '#next_step' do
|
||||
let(:dossier) { create(:dossier) }
|
||||
let(:dossier) { create(:dossier, :with_user) }
|
||||
let(:role) { 'user' }
|
||||
let(:action) { 'propose' }
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'users/recapitulatif/_commentaires_flux.html.haml', type: :view do
|
||||
let(:dossier) { create(:dossier, :with_procedure) }
|
||||
let(:dossier) { create(:dossier, :with_procedure, :with_user) }
|
||||
let(:dossier_id) { dossier.id }
|
||||
let(:email_commentaire) { 'mon_mail_de_commentaire@test.com' }
|
||||
let!(:commentaire) { create(:commentaire, dossier: dossier, email: email_commentaire, body: 'ma super description') }
|
||||
|
|
Loading…
Reference in a new issue