Added documentation for the new method added
This commit is contained in:
parent
506b616341
commit
fae5981dc4
3 changed files with 16 additions and 11 deletions
|
|
@ -11,7 +11,7 @@ describe 'conference/show.html.haml' do
|
|||
end
|
||||
|
||||
it 'renders program partial' do
|
||||
expect(render).to include("#{@conference.description}")
|
||||
expect(rendered).to include("#{@conference.description}")
|
||||
expect(view).to render_template(partial: 'conference/_program')
|
||||
end
|
||||
|
||||
|
|
@ -21,6 +21,6 @@ describe 'conference/show.html.haml' do
|
|||
end
|
||||
|
||||
it 'renders call_for_papers partial' do
|
||||
expect(render).to include("#{@conference.call_for_papers.description}")
|
||||
expect(rendered).to include("#{@conference.call_for_papers.description}")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue