Sha256: cbb4031910b4b1cb817d44f2263e1820b7ad6237d483885258fd465916fc494e

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 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_fail do
    should_protect_attributes :name
    should_have_valid_fixtures
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
francois-shoulda-2.0.5.1 test/unit/tag_test.rb
francois-shoulda-2.0.5.2 test/unit/tag_test.rb