Admins can give tickets.
(cherry picked from commit aeeeb8e331673011842a35946a1bdba2611f901e)
This commit is contained in:
parent
26f0377c76
commit
6f671b3933
6 changed files with 310 additions and 5 deletions
|
|
@ -103,7 +103,7 @@ feature Ticket do
|
|||
click_link('Delete', href: admin_conference_ticket_path(conference.short_title, ticket.id))
|
||||
page.accept_alert
|
||||
page.find('#flash')
|
||||
expect(flash).to eq('Ticket successfully destroyed.')
|
||||
expect(flash).to eq('Ticket successfully deleted.')
|
||||
expect(Ticket.count).to eq(1)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue