Merge 7abfbc7587 into 25a1c116fd
This commit is contained in:
commit
b27a2b9a58
3 changed files with 23 additions and 16 deletions
|
|
@ -11,16 +11,16 @@ describe 'conference/show.html.haml' do
|
|||
end
|
||||
|
||||
it 'renders program partial' do
|
||||
expect(render).to include("#{@conference.description}")
|
||||
expect(view).to render_template(partial: 'conference/_program')
|
||||
expect(view.content_for(:splash)).to include("#{@conference.description}")
|
||||
expect(view.content_for(:splash)).to render_template(partial: 'conference/_program')
|
||||
end
|
||||
|
||||
it 'renders registration partial' do
|
||||
expect(rendered).to include("#{@conference.registration_description}")
|
||||
expect(view).to render_template(partial: 'conference/_registration')
|
||||
expect(view.content_for(:splash)).to include("#{@conference.registration_description}")
|
||||
expect(view.content_for(:splash)).to render_template(partial: 'conference/_registration')
|
||||
end
|
||||
|
||||
it 'renders call_for_papers partial' do
|
||||
expect(render).to include("#{@conference.call_for_papers.description}")
|
||||
expect(view.content_for(:splash)).to include("#{@conference.call_for_papers.description}")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue