rework roles with rolify
This commit is contained in:
parent
f9f840c811
commit
4af0e59ca6
40 changed files with 167 additions and 228 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