   it 'should set all to false for creating when defaults are different', ->
 
     course = makeCourse(DEFAULT_TIMES, PERIOD_DEFAULT_TIMES_DIFFERENT)
-    TaskingActions.loadDefaults(course.id, course)
+    TaskingActions.loadDefaults(course.id, course, course.periods)
 
     TaskingActions.loadTaskToCourse(NEW_TASK_ID, course.id)
     TaskingActions.create(NEW_TASK_ID)

COURSE =
  id: '1'
  periods: [
    {id: '1', name: '1st'},
    {id: '2', name: '2nd'},
    {id: '3', name: '3rd'},
    {id: '4', name: '4th'}
  ]

DEFAULT_TIMES =

    courseDifferent = makeCourse(DEFAULT_TIMES, PERIOD_DEFAULT_TIMES_DIFFERENT)
    courseDifferent.id = '2'

    TaskingActions.loadDefaults(course.id, course, course.periods)
    TaskingActions.loadTaskToCourse(NEW_TASK_ID, course.id)
    TaskingActions.create(NEW_TASK_ID, {open_date: DATES.YESTERDAY, due_date: DATES.TOMORROW})

