CSC/ECE 517 Fall 2020 - E2068. Refactor quiz questionnaires controller.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
=Introduction=
=Introduction=


==Problem Statement==
==Background==
'''quiz_questionnaires_controller.rb''' is used in Expertiza to handle all functionality related to quizzes. A quiz is a type of questionnaire that allows reviewees to interact with their reviewers and making sure they read the submissions before reviewing. The student creating a quiz is supposed to ask questions related to their work, which, ideally, a reviewer should be able to answer. (If a reviewer cannot answer the questions about the reviewed work, then we might doubt the quality of that reviewer’s review.)  This controller needs some changes as detailed below.


==Tasks Identified==
==Tasks Identified==

Revision as of 01:36, 10 October 2020

Basic Project Information

Team

Colleen "Bria" Engen (ceengen)
Justin Kirschner (jkirsch)
Darby Madewell (demadewe)

Files Involved

app/controllers/quiz_questionnaires_controller.rb
app/views/questionnaires/_quiz_questionnaire.html.erb
app/views/questionnaires/view.html.erb
spec/controllers/quiz_questionnaires_controller_spec.rb

Running Tests

rspec spec/controllers/quiz_questionnaires_controller.rb

Introduction

Background

quiz_questionnaires_controller.rb is used in Expertiza to handle all functionality related to quizzes. A quiz is a type of questionnaire that allows reviewees to interact with their reviewers and making sure they read the submissions before reviewing. The student creating a quiz is supposed to ask questions related to their work, which, ideally, a reviewer should be able to answer. (If a reviewer cannot answer the questions about the reviewed work, then we might doubt the quality of that reviewer’s review.) This controller needs some changes as detailed below.

Tasks Identified

Implementation