Small test addition for #687
This commit is contained in:
parent
491df2c5c6
commit
848aa5f12a
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ describe 'admin/call_for_papers/show' do
|
|||
assign :conference, create(:conference)
|
||||
assign :call_for_paper, create(:call_for_paper)
|
||||
render
|
||||
expect(rendered).to include('Start Date')
|
||||
expect(rendered).to include('End Date')
|
||||
expect(rendered).to include(1.day.ago.strftime('%A, %B %-d. %Y'))
|
||||
expect(rendered).to include(6.days.from_now.strftime('%A, %B %-d. %Y'))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue