Unlint CfP views #BetterPlace
This commit is contained in:
parent
195d7e08ac
commit
21c5b842b1
11 changed files with 89 additions and 55 deletions
|
|
@ -36,8 +36,8 @@ feature Conference do
|
|||
.to eq('Call for papers successfully created.')
|
||||
|
||||
visit admin_conference_program_cfp_path(conference.short_title, conference.program.cfp)
|
||||
expect(find('#start_date').text).to eq(today.strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#end_date').text).to eq((today + 6).strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#start-date').text).to eq(today.strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#end-date').text).to eq((today + 6).strftime('%A, %B %-d. %Y'))
|
||||
|
||||
expect(Cfp.count).to eq(expected_count)
|
||||
end
|
||||
|
|
@ -74,8 +74,8 @@ feature Conference do
|
|||
.to eq('Call for papers successfully updated.')
|
||||
|
||||
visit admin_conference_program_cfp_path(conference.short_title, conference.program.cfp)
|
||||
expect(find('#start_date').text).to eq(today.strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#end_date').text).to eq((today + 14).strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#start-date').text).to eq(today.strftime('%A, %B %-d. %Y'))
|
||||
expect(find('#end-date').text).to eq((today + 14).strftime('%A, %B %-d. %Y'))
|
||||
expect(Cfp.count).to eq(expected_count)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue