mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 04:34:03 +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
|
|
@ -86,19 +86,6 @@ feature 'Code of Conduct:' do
|
|||
page.find('.modal-dialog')
|
||||
expect(page).to have_content(sample_text)
|
||||
end
|
||||
|
||||
it 'must be accepted', js: true do
|
||||
find("input[type='submit']").click
|
||||
page.find('#flash')
|
||||
expect(conference.user_registered?(participant)).to be_falsey
|
||||
expect(flash).to match('Accepted code of conduct must be accepted')
|
||||
check 'registration[accepted_code_of_conduct]'
|
||||
click_on 'Register'
|
||||
page.find('#flash')
|
||||
expect(conference.user_registered?(participant)).to be_truthy
|
||||
visit conference_conference_registration_path(conference)
|
||||
expect(page).to have_content('You have accepted the Code of Conduct')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue