     item = _.clone(ITEM_DRAFT_ONE_DAY)
     item.plan = fakePublishing(item.plan)
 
-    succeededProgress =
-      for: item.plan.id
-      id: JOB_UUID
-      status: 'succeeded'
-
     Testing
       .renderComponent( ContainedPlan, props: {courseId: PLAN_COURSE_ID, item: ITEM_PUBLISHED_THREE_DAYS} )
       .then ({dom, element}) ->


{TimeActions, TimeStore} = require '../../../src/flux/time'
{PlanPublishStore, PlanPublishActions} = require '../../../src/flux/plan-publish'

Plan = require '../../../src/components/course-calendar/plan'



        checkChildrenComponents(element.refs.plan, item, checks)

        checksIsPublished =
          display: (components, {display}) ->
            displayNode = components.displayComponent.getDOMNode()
            expect(displayNode.classList.contains('is-published')).to.be.true

        checker = _.partial(checkChildrenComponents, element.refs.plan, item, checksIsPublished)

        PlanPublishStore.on("progress.#{plan.id}.*", checker)
        fakePublished(plan)

  it 'should show as publishing when re-publishing', ->
    item = _.clone(ITEM_PUBLISHED_THREE_DAYS)
