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

12 lines
334 B
Ruby
Raw Normal View History

require 'spec_helper'
2014-05-19 12:49:04 +05:30
describe 'admin/conference/show' do
it 'renders conference dashboard' do
2014-08-12 11:51:59 +03:00
conference = create(:conference, title: 'openSUSE')
assign :conference, conference
assign :conference_progress, conference.get_status
render
expect(rendered).to include("Dashboard for #{conference.title}")
end
end