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