live coder seeding - completes #16
This commit is contained in:
@ -11,4 +11,11 @@ class QuestionTest < ActiveSupport::TestCase
|
||||
|
||||
assert_equal 2, question.input_options.count
|
||||
end
|
||||
|
||||
test 'should have seed input for live_coder' do
|
||||
question = Question.find questions(:fed7).to_i
|
||||
|
||||
assert_kind_of Hash, question.input_options
|
||||
assert question.input_options.keys.include? :html
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user