mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
14 lines
411 B
Ruby
14 lines
411 B
Ruby
require 'spec_helper'
|
|
|
|
describe "admin/conference/show" do
|
|
it 'renders conference sidebar' do
|
|
expect(sidebar).to be true
|
|
end
|
|
it 'renders conference details which are editable' do
|
|
@conference = create(:conference, title: 'OpenSUSE')
|
|
assign :conference, @conference
|
|
render
|
|
expect(rendered).to include('OpenSUSE')
|
|
expect(rendered).to include("#{@conference.contact_email}")
|
|
end
|
|
end
|