Implements todo list for instance dashboard

This commit is contained in:
Chrisbr 2014-06-03 16:27:10 +02:00
parent 852e2d4243
commit 65a73f876a
13 changed files with 333 additions and 102 deletions

View file

@ -3,9 +3,10 @@ require 'spec_helper'
describe 'admin/conference/show' do
it 'renders conference dashboard' do
@conference = create(:conference, title: 'OpenSUSE')
assign :conference, @conference
conference = create(:conference, title: 'OpenSUSE')
assign :conference, conference
assign :conference_progress, conference.get_status
render
expect(rendered).to include("Dashboard for #{@conference.title}")
expect(rendered).to include("Dashboard for #{conference.title}")
end
end