search for: sub_plan

Displaying 1 result from an estimated 1 matches for "sub_plan".

Did you mean: sub_pda
2007 Feb 07
0
strange sqlite3 errors - validates_associated & failing activerecord unit tests
.../../test_helper'' class SubscriptionPlanTest < Test::Unit::TestCase fixtures :subscription_plans fixtures :publications def setup @six_month_gold = subscription_plans(:six_month_gold) @gold = publications(:gold) end def test_should_make_sure_record_can_be_created sub_plan = create pub = Publication.find(sub_plan.publication_id) assert_valid pub, "publication errors: #{pub.errors}" assert_valid sub_plan.publication, "sub_plan.publication.errors: #{sub_plan.publication.errors}" assert_equal sub_plan.publication_id, pub.id asser...