Sha256: d6836f75d9b682d35b9ce04d883d2685ee48e8b0f5038b89cd828ade4a0c8e87
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class CommentTest < Test::Unit::TestCase fixtures :comments, :commentings, <%= commentable_models[0..1].join(", ") -%> def test_to_s assert_equal "no1@nowhere.com", <%= model_two -%>.find(2).comments.first.email assert_equal "http://letrails.cn", <%= model_two -%>.find(2).comments.last.url assert_equal "http://fr.ivolo.us", <%= model_two -%>.find(2).comments.first.url end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_many_polymorphs-2.11 | generators/commenting/templates/comment_test.rb |