Sha256: 6ac53dd2d021d3a7ae526cc7e05d2381d40b597894df9e16a64d1476368e83c6

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class TagTest < Test::Unit::TestCase
  fixtures :tags, :taggings, <%= taggable_models[0..1].join(", ") -%>

  def test_to_s
    assert_equal "delicious sexy", <%= model_two -%>.find(2).tags.to_s
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_many_polymorphs-2.10 generators/tagging/templates/tag_test.rb
has_many_polymorphs-2.11 generators/tagging/templates/tag_test.rb