Implement role authorization
This commit is contained in:
parent
6755328c4c
commit
e2fb434dc7
122 changed files with 1386 additions and 751 deletions
|
|
@ -2,9 +2,9 @@ require 'spec_helper'
|
|||
|
||||
describe 'admin/conference/index' do
|
||||
it 'renders all conference names with links' do
|
||||
assign(:conferences, [create(:conference, title: 'OpenSUSE'), create(:conference)])
|
||||
assign(:conferences, [create(:conference, title: 'openSUSE'), create(:conference)])
|
||||
render
|
||||
expect(rendered).to include('OpenSUSE')
|
||||
expect(rendered).to include("The dog and pony show")
|
||||
expect(rendered).to include('openSUSE')
|
||||
expect(rendered).to include('The dog and pony show')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue