2015-08-25 16:33:55 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'recapitulatif/show.html.haml', type: :view do
|
|
|
|
let(:dossier) { create(:dossier, :with_entreprise) }
|
|
|
|
before do
|
|
|
|
assign(:dossier, dossier.decorate)
|
|
|
|
assign(:commentaires, dossier.commentaires)
|
|
|
|
render
|
|
|
|
end
|
2015-09-21 17:59:03 +02:00
|
|
|
# it { expect(rendered).to have_content("Contacter l'administration") }
|
|
|
|
# it { expect(rendered).to include(dossier.mailto.gsub('&','&')) }
|
2015-08-25 16:33:55 +02:00
|
|
|
end
|