8693f4194c
Conflicts: app/views/users/recapitulatif/show.html.haml spec/features/recapitulatif_page/_commentaires_flux_spec.rb spec/features/recapitulatif_page/show_page_spec.rb
12 lines
401 B
Ruby
12 lines
401 B
Ruby
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
|
|
# it { expect(rendered).to have_content("Contacter l'administration") }
|
|
# it { expect(rendered).to include(dossier.mailto.gsub('&','&')) }
|
|
end
|