Sha256: a0c4ac11e2b158b650a7fca48faf6cb53bcb8537ce7b61c8e84b0a297543e750
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
require 'test_helper' class AnswerTest < ActiveSupport::TestCase test 'Answer should display position as * if it is NULL' do answer = Factory(:answer, :position => nil) assert answer.display_position == '*' end test 'Answer should display position' do answer = Factory(:answer, :position => 2) assert answer.display_position == '2' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
survey_says-0.0.2 | test/unit/answer_test.rb |
survey_says-0.0.1 | test/unit/answer_test.rb |