demarches-normaliennes/spec/views/users/recapitulatif/show.html.haml_spec.rb

13 lines
401 B
Ruby
Raw Normal View History

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
# 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