osem-fcy/spec/views/admin/conference/index.html.haml_spec.rb

11 lines
320 B
Ruby
Raw Normal View History

require 'spec_helper'
2014-05-19 12:49:04 +05:30
describe 'admin/conference/index' do
it 'renders all conference names with links' do
2014-08-12 11:51:59 +03:00
assign(:conferences, [create(:conference, title: 'openSUSE'), create(:conference)])
render
2014-08-12 11:51:59 +03:00
expect(rendered).to include('openSUSE')
expect(rendered).to include('The dog and pony show')
end
end