 
 getDueDateAtInput = (element, period) ->
   taskingRefName = makeTaskingPeriodKey(period)
-  element.refs[taskingRefName]?.getDOMNode?().querySelector?(DUE_DATE_INPUT_SELECTOR)?.value
+  console.log element.refs[taskingRefName]
+  ReactDOM.findDOMNode(element).querySelector?(DUE_DATE_INPUT_SELECTOR)?.value
 
 describe 'Task Plan Builder', ->
   beforeEach ->

_ = require 'underscore'
moment = require 'moment-timezone'

Builder = require '../../../../src/components/task-plan/builder'


{TaskPlanActions, TaskPlanStore} = require '../../../../src/flux/task-plan'
{TaskingActions, TaskingStore} = require '../../../../src/flux/tasking'
{Testing, sinon, _, React, ReactDOM} = require '../../helpers/component-testing'
{commonActions} = require '../../helpers/utilities'
{ExtendBasePlan, PlanRenderHelper} = require '../../helpers/task-plan'

{CourseListingActions, CourseListingStore} = require '../../../../src/flux/course-listing'
{CourseStore, CourseActions} = require '../../../../src/flux/course'

{TimeStore} = require '../../../../src/flux/time'
TimeHelper = require '../../../../src/helpers/time'
