canvas-lms/spec
Brian Finney a9b68e3abc Ensure submission is complete before showing answers
Fixes CNVS-18802

Test plan
 - Create a quiz with multiple attempts and 'Let Students See The
 Correct Answers' 'Only After Their Last Attempt'
 - Take quiz untill you are on your final attempt
 - Answers should not be visible during final attempt
 - When final attempt is completed answers should now be visible

Change-Id: Ibf729afbe491b958d58b6b813379c9b40e678088
Reviewed-on: https://gerrit.instructure.com/49507
Tested-by: Jenkins
Reviewed-by: Ryan Taylor <rtaylor@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Brian Finney <bfinney@instructure.com>
2015-02-27 18:29:50 +00:00
..
apis SIS CSV diffing 2015-02-26 15:53:01 +00:00
coffeescripts discussion reply tinymce keyboard shortcut icon renders correctly 2015-02-25 23:16:24 +00:00
controllers lay groundwork for transitioning to smarter attachment verifiers 2015-02-26 17:17:30 +00:00
factories don't create thumbnails for very large images 2015-02-23 20:43:05 +00:00
fixtures don't create thumbnails for very large images 2015-02-23 20:43:05 +00:00
gem_integration rspec 3-ify spec/gem_integration 2014-10-13 23:12:18 +00:00
helpers allows deletion of alignments from outcomes/show 2015-02-19 23:14:06 +00:00
initializers fix runtime i18n scope inference in models 2015-01-19 22:12:48 +00:00
integration touch content after changing course public visibility settings 2015-02-26 12:37:48 +00:00
javascripts address a number of issues with the js test suite 2015-02-20 16:35:17 +00:00
lib DA doesnt break new csv assignments 2015-02-26 19:22:29 +00:00
messages use url helpers in messages 2015-02-18 23:07:57 +00:00
middleware rspec 3-ify spec/middleware 2014-10-14 00:51:08 +00:00
migrations cleanup and prevent duplicate external feeds 2015-02-13 17:35:34 +00:00
models Ensure submission is complete before showing answers 2015-02-27 18:29:50 +00:00
observers rspec 3-ify spec/observers 2014-10-13 23:13:05 +00:00
presenters guard grade_distribution to fix error on concluded student's grade page 2015-02-03 00:37:29 +00:00
selenium Closing the edit dialog on modules items sets focus back to cog menu 2015-02-27 16:14:46 +00:00
serializers QLA - Table view / answer matrix 2014-12-19 22:11:56 +00:00
support spec: fix once-ler/sharding issues 2014-10-21 21:19:59 +00:00
views Bugfix where student could view unpublished files 2015-02-02 18:13:19 +00:00
ams_spec_helper.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
broadcast_integration.rb Initial commit. 2011-01-31 18:57:29 -07:00
cassandra_spec_helper.rb extract canvas_cassandra gem 2014-01-22 22:49:35 +00:00
coverage_tool.rb spec: remove formatting results in runtime 2014-11-24 19:30:39 +00:00
import_helper.rb assessment question bank migration content selection 2014-06-05 19:56:03 +00:00
lti_spec_helper.rb create lti_app collection api 2014-12-17 22:34:31 +00:00
mocha_extensions.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
mocha_rspec_adapter.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
nested_instafail_formatter.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
quiz_spec_helper.rb canvas-partman & quiz log auditing partitioning 2014-11-11 19:06:00 +00:00
rcov.opts Initial commit. 2011-01-31 18:57:29 -07:00
sharding_spec_helper.rb fix sharding skip for rspec 3 2014-11-11 18:55:35 +00:00
spec.opts fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
spec_helper.rb don't allow editing gradebook when course is unpublished 2015-02-19 20:02:18 +00:00