canvas-lms/gems/canvas_ember_url
Derek DeVries 1168ed5ab4 make show/moderate/statistics actions redirect to fabulous quizzes when enabled
fixes CNVS-12752, CNVS-12753, CNVS-12754

test plan:
  - turn fabulous quizzes off
  - visit an individual quiz with fabulous quizzes turned off
  - switch fabulous quizzes on
  - refresh the page
  - it should redirect to the overview tab on fabulous quizzes
  - the url should be something like: /courses/1/quizzes/fabulous_quizzes#/437

  - turn fabulous quizzes off
  - visit the quiz moderate page for a quiz with fabulous quizzes turned off
  - switch fabulous quizzes on
  - refresh the page
  - it should redirect to the moderate tab on fabulous quizzes
  - the url should be something like: /courses/1/quizzes/fabulous_quizzes#/437/moderate

  - turn fabulous quizzes off
  - visit the quiz statistics page for a quiz with fabulous quizzes turned off
  - switch fabulous quizzes on
  - refresh the page
  - it should redirect to the statistics tab on fabulous quizzes (which is
    currently an empty page)
  - the url should be something like: /courses/1/quizzes/fabulous_quizzes#/437/statistics

  - turn fabulous quizzes on
  - edit a quiz
  - when you save the quiz, it should redirect to the overview tab

  - try other variations which should bring you back to the show/moderate/stats
    pages. They should all bring you to the correct tabs on fabulous now

Change-Id: I85e8b628c0562d72c72a30e4e8340dd2cc0adcac
Reviewed-on: https://gerrit.instructure.com/34112
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
2014-05-03 18:18:56 +00:00
..
lib make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00
spec make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00
Gemfile make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00
Rakefile make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00
canvas_ember_url.gemspec make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00
test.sh make show/moderate/statistics actions redirect to fabulous quizzes when enabled 2014-05-03 18:18:56 +00:00