Sha256: 864f68174b4a3485982b1d3815f3cfb8b8e35f6d57a3625bb9453a3bcc660850
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class TagTest < Test::Unit::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
8 entries across 8 versions & 3 rubygems