Sha256: 6bceb5786108312b3621bdd219396c025244fbc11ac939b91794770d06841e10

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require 'test_helper'

class SimplyTaggable::TagTest < ActiveSupport::TestCase

	assert_should_initially_belong_to :tagger, :polymorphic => true
	assert_should_have_many :taggings

	assert_should_require :name
	assert_should_not_protect_attribute :name
	assert_should_protect_attribute :tagger_id
	assert_should_protect_attribute :tagger_type

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jakewendt-simply_taggable-0.3.2 test/unit/taggable/tag_test.rb