Sha256: 32eee849e7ed56df42874e3352b4d501f66ca3c3b4fa725ed343f8a1e891901c
Contents?: true
Size: 407 Bytes
Versions: 5
Compression:
Stored size: 407 Bytes
Contents
require 'test_helper' class ChoiceTest < ActiveSupport::TestCase context "A Choice" do setup do @choice = Factory(:choice) end subject { @choice } should_belong_to :question should_act_as_list should_validate_presence_of :value, :question should_allow_mass_assignment_of :value end end
Version data entries
5 entries across 5 versions & 1 rubygems