Sha256: af2bf13edcc57d56d2407ddcea91e970113aa0a880d6cfd2236954b9a09842bf
Contents?: true
Size: 361 Bytes
Versions: 18
Compression:
Stored size: 361 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_protect_attributes :secret should_allow_mass_assignment_of :name should_fail do should_not_allow_mass_assignment_of :name end end
Version data entries
18 entries across 18 versions & 6 rubygems