mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
validate cfp start_date before end_date and end_date before conference.end_date
This commit is contained in:
parent
1edb4bff9e
commit
6e026746a9
7 changed files with 62 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ describe 'admin/call_for_papers/show' do
|
|||
assign :call_for_paper, create(:call_for_paper)
|
||||
render
|
||||
expect(rendered).to include(1.day.ago.strftime('%A, %B %-d. %Y'))
|
||||
expect(rendered).to include(7.days.from_now.strftime('%A, %B %-d. %Y'))
|
||||
expect(rendered).to include(6.days.from_now.strftime('%A, %B %-d. %Y'))
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue