Sha256: e9c3508a81167d85af47fc69b4e54f2e083fb1b1d74b4c8f6e2e16526c0bf3c1
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class TagTest < Test::Unit::TestCase should_have_many :taggings, :dependent => :destroy should_have_many :posts should_ensure_length_at_least :name, 2 should_not_allow_mass_assignment_of :secret should_fail do should_not_allow_mass_assignment_of :name should_have_valid_fixtures end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
francois-shoulda-2.0.5.4 | test/unit/tag_test.rb |