canvas-lms/spec
Josh Simpson 30b640ba96 add input validation for quiz groups
fixes CNVS-9282
this commit adds input validation to quiz groups for pick_count and
question_points, requiring the data given by the user to be numerical.

Test Plan
1. Create a Question Group with non-numerical values for pick count and
question points.
- Validation should fail and alert the user.

Change-Id: I13b1c95763504afd13f2f16e1a2de190e836c085
Reviewed-on: https://gerrit.instructure.com/26656
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Product-Review: Josh Simpson <jsimpson@instructure.com>
2013-11-26 18:45:45 +00:00
..
apis add input validation for quiz groups 2013-11-26 18:45:45 +00:00
coffeescripts fix search filtering of quizzes on quizzes#index page 2013-11-22 22:37:34 +00:00
controllers don't leak muted assignment scores on grade summary page 2013-11-25 23:00:12 +00:00
factories spec: speed up some submission-related specs 2013-11-19 19:17:56 +00:00
fixtures add selenium tests for content migrations and course copy 2013-09-05 12:35:04 +00:00
helpers don't send "needs grading" notification for graded surveys 2013-11-21 18:14:44 +00:00
initializers allow delete all on inner join with aliased scope 2013-10-29 23:07:47 +00:00
integration Quiz question refactor / api implementation 2013-11-22 17:03:45 +00:00
javascripts ember testing 2013-11-12 20:50:14 +00:00
lib restrict google doc submissions by domain 2013-11-23 17:10:31 +00:00
messages remove dimdim plugin 2013-10-07 21:56:10 +00:00
migrations analytics showing submissions were submitted if teacher give a 0 2013-11-19 20:36:33 +00:00
models only do scribd docs on root attachments 2013-11-26 15:51:18 +00:00
observers cross shard dashboards 2012-11-29 17:36:24 -07:00
presenters don't error on submissions without cached assignment 2013-11-16 19:06:03 +00:00
selenium shows a user warning for insecure tool launches 2013-11-26 16:56:28 +00:00
views stop students from viewing unpublished quizzes when viewing by URL 2013-11-22 22:11:08 +00:00
broadcast_integration.rb Initial commit. 2011-01-31 18:57:29 -07:00
cassandra_spec_helper.rb Auditors::Authentication 2013-07-12 16:10:33 +00:00
mocha_extensions.rb spec: serialize objects for MemoryStore and NilStore 2013-10-14 16:25:03 +00:00
mocha_rspec_adapter.rb improve robustness of incoming message processor 2013-04-29 14:47:09 +00:00
nested_instafail_formatter.rb add a rspec nested_instafail_formatter 2011-12-28 16:18:28 -07:00
rcov.opts Initial commit. 2011-01-31 18:57:29 -07:00
sharding_spec_helper.rb spec: remove shared_examples_for "sharding" 2013-04-10 16:48:07 +00:00
spec.opts fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
spec_helper.rb add option for course grade change (log auditing) 2013-11-21 20:53:27 +00:00