1 require File.dirname(__FILE__) + '/../test_helper'
3 class CommentTest < Test::Unit::TestCase
4 fixtures :comments, :commentings, <%= commentable_models[0..1].join(", ") -%>
7 assert_equal "no1@nowhere.com", <%= model_two -%>.find(2).comments.first.email
8 assert_equal "http://letrails.cn", <%= model_two -%>.find(2).comments.last.url
9 assert_equal "http://fr.ivolo.us", <%= model_two -%>.find(2).comments.first.url