Implements registrations over time chart

This commit is contained in:
Chrisbr 2014-05-31 13:23:41 +02:00
parent c3d3440745
commit 70c7f78024
11 changed files with 355 additions and 47 deletions

View file

@ -155,12 +155,12 @@ describe Admin::ConferenceController do
it 'assigns cfp_max an array with maximum weeks' do
conference
date = Date.new(2014, 05, 28)
date = Date.new(2014, 05, 26)
conference.call_for_papers = create(:call_for_papers,
start_date: date,
end_date: date + 14)
get :index
expect(assigns(:weeks)).to match_array([1, 2])
expect(assigns(:cfp_weeks)).to match_array([1, 2, 3])
end
it 'renders the index template' do