Sha256: a590c380aa87f8f719bfa8b1ca78191ce169a5bf2f5cbc82e3176c0e178a20c8
Contents?: true
Size: 321 Bytes
Versions: 8
Compression:
Stored size: 321 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class OptionGroupTest < Test::Unit::TestCase def test_invalid_with_empty_attributes option_group = OptionGroup.new assert !option_group.valid? assert option_group.errors.invalid?(:option) assert option_group.errors.invalid?(:option_value) end end
Version data entries
8 entries across 8 versions & 2 rubygems