projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
generators
/
tagging
/
templates
/
tag_test.rb
1
require File.dirname(__FILE__) + '/../test_helper'
2
3
class TagTest < Test::Unit::TestCase
4
fixtures :tags, :taggings, <%= taggable_models[0..1].join(", ") -%>
5
6
def test_to_s
7
assert_equal "delicious sexy", <%= model_two -%>.find(2).tags.to_s
8
end
9
10
end