 {expect, _} = require 'test/helpers'
 times = require 'lodash/times'
+cloneDeep = require 'lodash/cloneDeep'
 
 TaskHelper = require 'helpers/task'
 UiSettings = require 'model/ui-settings'

      [question]

makeTask = (taskType = 'reading', stepLength = 1, stepModifications = {}) ->
  task = _.clone(TASK_BASE)
  task.type = taskType

  task.steps = times(stepLength, ->
    _.clone(EXERCISE_STEP_BASE)
  )

  _.each(stepModifications, (mod, stepIndex) ->


      expect(steps.length).to.equal(practiceTask.steps.length + 1)

    it 'does not place intro card if placed elsewhere', ->
      UiSettings.initialize(
        'spaced-practice-info-homework':
          placement:
            stepId: 'test'
            taskId: 'test'
          is_completed: true
      )

      homeworkTask = makeTask(TASK_HOMEWORK_TYPE, numberOfSteps, stepModifications)
