search for: topic_eligibility

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

2005 Dec 22
2
nonstandard postgresql sequence names
...to this: I have the following test: require File.dirname(__FILE__) + ''/../test_helper'' class SponsorTest < Test::Unit::TestCase self.use_transactional_fixtures = true fixture :sponsors, :table_name => "sponsor" fixture :eligibilities, :table_name => "topic_eligibility" # Replace this with your real tests. def test_truth assert_kind_of Sponsor, sponsors(:first) end end (The "fixture" method comes from a patch that allows me to specify non-standard table names--the table in this case is called sponsor, not sponsors). The sponsor table...