enable style/dotposition rubocop cop
This commit is contained in:
parent
29650beddb
commit
03fa299058
25 changed files with 143 additions and 142 deletions
|
|
@ -16,15 +16,15 @@ feature RegistrationPeriod do
|
|||
click_link 'New Registration Period'
|
||||
|
||||
click_button 'Save Registration Period'
|
||||
expect(flash).
|
||||
to eq('An error prohibited the Registration Period from being saved: ' \
|
||||
expect(flash)
|
||||
.to eq('An error prohibited the Registration Period from being saved: ' \
|
||||
"Start date can't be blank. End date can't be blank.")
|
||||
|
||||
page.
|
||||
execute_script("$('#registration-period-start-datepicker').val('" +
|
||||
page
|
||||
.execute_script("$('#registration-period-start-datepicker').val('" +
|
||||
"#{Date.today.strftime('%d/%m/%Y')}')")
|
||||
page.
|
||||
execute_script("$('#registration-period-end-datepicker').val('" +
|
||||
page
|
||||
.execute_script("$('#registration-period-end-datepicker').val('" +
|
||||
"#{(Date.today + 5).strftime('%d/%m/%Y')}')")
|
||||
|
||||
click_button 'Save Registration Period'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue