mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Retire semantic_form_for
Also a buttload of form cleanups...
This commit is contained in:
parent
350b1ebbbe
commit
81853d1ef9
136 changed files with 1825 additions and 1441 deletions
|
|
@ -14,7 +14,7 @@ feature Splashpage do
|
|||
visit admin_conference_splashpage_path(conference.short_title)
|
||||
|
||||
click_link 'Create Splashpage'
|
||||
click_button 'Save Changes'
|
||||
click_button 'Save'
|
||||
page.find('#flash')
|
||||
expect(flash).to eq('Splashpage successfully created.')
|
||||
expect(current_path).to eq(admin_conference_splashpage_path(conference.short_title))
|
||||
|
|
@ -28,15 +28,15 @@ feature Splashpage do
|
|||
sign_in organizer
|
||||
visit admin_conference_splashpage_path(conference.short_title)
|
||||
|
||||
click_link 'Edit'
|
||||
click_link 'Configure'
|
||||
check('Make splash page public')
|
||||
click_button 'Save Changes'
|
||||
click_button 'Save'
|
||||
page.find('#flash')
|
||||
expect(flash).to eq('Splashpage successfully updated.')
|
||||
expect(current_path).to eq(admin_conference_splashpage_path(conference.short_title))
|
||||
expect(page.has_text?('Public')).to be true
|
||||
|
||||
click_link 'Edit'
|
||||
click_link 'Configure'
|
||||
expect(page.has_checked_field?('Make splash page public?')).to be true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue