All basic question types
This commit is contained in:
parent
3e1e5618ca
commit
4fe218166f
51 changed files with 760 additions and 92 deletions
|
@ -1,3 +1,24 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: questions
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# answer_kind :integer not null
|
||||
# public_asset_path :string
|
||||
# question_kind :integer default("simple"), not null
|
||||
# text :text not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# section_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_questions_on_section_id (section_id)
|
||||
#
|
||||
# Foreign Keys
|
||||
#
|
||||
# section_id (section_id => sections.id)
|
||||
#
|
||||
require "test_helper"
|
||||
|
||||
class QuestionTest < ActiveSupport::TestCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue