add tests for new conference links

This commit is contained in:
shlok007 2017-07-12 17:34:33 +05:30 committed by Shlok Srivastava
parent ddf6f4b4c9
commit ea43b19ef4
4 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,7 @@ feature 'Has correct abilities' do
expect(page).to have_link('Registrations', href: "/admin/conferences/#{conference.short_title}/registrations")
expect(page).to have_link('Questions', href: "/admin/conferences/#{conference.short_title}/questions")
expect(page).to_not have_link('E-Mails', href: "/admin/conferences/#{conference.short_title}/emails")
expect(page).to_not have_link('New Conference', href: '/admin/conferences/new')
visit admin_organizations_path
expect(current_path).to eq(admin_organizations_path)