test('returns resubmitted data for graded_then_resubmitted', function() {
  this.student.submission_state = 'resubmitted'
  const state = SpeedgraderHelpers.classNameBasedOnStudent(this.student)
  deepEqual(state, {
    raw: 'resubmitted',
    formatted: 'graded, then resubmitted (Oct 13, 2016 at 12:22pm)'
  })
})
test('returns graded for not_gradeable', function() {
  this.student.submission_state = 'not_gradeable'
  const state = SpeedgraderHelpers.classNameBasedOnStudent(this.student)
  deepEqual(state, {
    raw: 'not_gradeable',
    formatted: 'graded'
  })
})
test("returns 'not submitted' for not_submitted", function() {
  this.student.submission_state = 'not_submitted'
  const state = SpeedgraderHelpers.classNameBasedOnStudent(this.student)
  deepEqual(state, {
    raw: 'not_submitted',
    formatted: 'not submitted'
  })
})
 const menuOptions = students.map(student => {
   const className = SpeedGraderHelpers.classNameBasedOnStudent(student);
   return {id: student.id, name: student.name, className, anonymizableId: 'id'};
 });