Implements registrations and last login information for dashboard
This commit is contained in:
parent
6b31644012
commit
b645b1a4ff
12 changed files with 496 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue