mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Introduce Booths for admin
This commit is contained in:
parent
29aee82a14
commit
f7c0b64eb5
22 changed files with 534 additions and 1 deletions
|
|
@ -249,6 +249,16 @@ feature 'Has correct abilities' do
|
|||
visit admin_conference_roles_path(conference.short_title)
|
||||
expect(current_path).to eq(admin_conference_roles_path(conference.short_title))
|
||||
|
||||
visit admin_conference_booths_path(conference.short_title)
|
||||
expect(current_path).to eq(admin_conference_booths_path(conference.short_title))
|
||||
|
||||
visit new_admin_conference_booth_path(conference.short_title)
|
||||
expect(current_path).to eq(new_admin_conference_booth_path(conference.short_title))
|
||||
|
||||
create(:booth, conference: conference)
|
||||
visit edit_admin_conference_booth_path(conference.short_title, conference.booths.first)
|
||||
expect(current_path).to eq(edit_admin_conference_booth_path(conference.short_title, conference.booths.first))
|
||||
|
||||
visit admin_conference_resources_path(conference.short_title)
|
||||
expect(current_path).to eq(admin_conference_resources_path(conference.short_title))
|
||||
|
||||
|
|
|
|||
|
|
@ -237,6 +237,16 @@ feature 'Has correct abilities' do
|
|||
visit edit_admin_conference_target_path(conference.short_title, conference.targets.first)
|
||||
expect(current_path).to eq(edit_admin_conference_target_path(conference.short_title, conference.targets.first))
|
||||
|
||||
visit admin_conference_booths_path(conference.short_title)
|
||||
expect(current_path).to eq(admin_conference_booths_path(conference.short_title))
|
||||
|
||||
visit new_admin_conference_booth_path(conference.short_title)
|
||||
expect(current_path).to eq(new_admin_conference_booth_path(conference.short_title))
|
||||
|
||||
create(:booth, conference: conference)
|
||||
visit edit_admin_conference_booth_path(conference.short_title, conference.booths.first)
|
||||
expect(current_path).to eq(edit_admin_conference_booth_path(conference.short_title, conference.booths.first))
|
||||
|
||||
visit admin_conference_program_tracks_path(conference.short_title)
|
||||
expect(current_path).to eq(admin_conference_program_tracks_path(conference.short_title))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue