Sha256: 365fc7d2b60fdf6598f001299f72a40561aa6d53db5fc3e84e5e1cf9d02f388c

Contents?: true

Size: 345 Bytes

Versions: 14

Compression:

Stored size: 345 Bytes

Contents

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

class TagTest < ActiveSupport::TestCase
  fixtures <%= taggable_models[0..1].join(", ") -%>
  
  def setup
    @obj = <%= model_two %>.find(:first)
    @obj.tag_with "pale imperial"
  end

  def test_to_s
    assert_equal "imperial pale", <%= model_two -%>.find(:first).tags.to_s
  end
  
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
radiant-tags-extension-1.6.10 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
johnsbrn-has_many_polymorphs-2.13.4 generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.9 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.8 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.7 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.6 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.5 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.4 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.3 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.2 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.1 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.6.0 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
radiant-tags-extension-1.5.1 vendor/plugins/has_many_polymorphs/generators/tagging/templates/tag_test.rb
has_many_polymorphs-2.2 generators/tagging/templates/tag_test.rb