     CourseActions.loaded(COURSE, COURSE_ID)
 
     TaskPlanActions.loaded(PLAN, PLAN.id)
+
+    term = fakeTerm()
+
     @props =
       id: PLAN.id
       courseId: COURSE_ID
       onHide: sinon.spy()
+      termStart: term.start
+      termEnd: term.end
+      handleError: sinon.spy()
 
 
   afterEach ->

{React, _} = require '../../helpers/component-testing'

MiniEditor = require '../../../../src/components/task-plan/mini-editor/editor'
{CourseActions} = require '../../../../src/flux/course'
{TaskPlanActions, TaskPlanStore} = require '../../../../src/flux/task-plan'

COURSE  = require '../../../../api/courses/1.json'
COURSE_ID = '1'

  save: wrapper.find('.-save')
  cancel: wrapper.find('.btn.cancel')

fakeTerm = ->
  now = moment(TimeStore.getNow())
  start = now.clone().add(1, 'year').startOf('year')
  end = start.clone().add(6, 'months')

  {start, end}

describe 'TaskPlan MiniEditor wrapper', ->

  beforeEach ->
