Implements todo list for global dashboard

This commit is contained in:
Chrisbr 2014-06-03 14:37:18 +02:00
parent 852e2d4243
commit 60cfc992af
12 changed files with 372 additions and 96 deletions

View file

@ -2,7 +2,16 @@ require 'spec_helper'
describe 'admin/conference/index' do
it 'renders all conference names with links' do
assign(:conferences, [create(:conference, title: 'OpenSUSE'), create(:conference)])
con1 = create(:conference, title: 'OpenSUSE')
con2 = create(:conference)
assign(:conferences, [con1, con2])
status = {}
status[con1.title] = con1.get_status
status[con2.title] = con2.get_status
assign(:conference_progress, status)
render
expect(rendered).to include('OpenSUSE')
expect(rendered).to include("The dog and pony show")