12 lines
325 B
Ruby
12 lines
325 B
Ruby
|
|
require 'spec_helper'
|
||
|
|
|
||
|
|
describe "admin/conference/index" do
|
||
|
|
it 'renders all conference names with links' do
|
||
|
|
assign(:conferences, [create(:conference, title: 'OpenSUSE'),
|
||
|
|
create(:conference)])
|
||
|
|
render
|
||
|
|
expect(rendered).to include('OpenSUSE')
|
||
|
|
expect(rendered).to include("The dog and pony show")
|
||
|
|
end
|
||
|
|
end
|