fix tests

This commit is contained in:
Tanguy PATTE 2015-09-24 11:20:04 +02:00
parent 698ea9185b
commit 3f11e09937
2 changed files with 2 additions and 2 deletions

View file

@ -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' }

View file

@ -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') }