mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
13 lines
382 B
Ruby
13 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
|