search for: sponsortest

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

2005 Dec 22
2
nonstandard postgresql sequence names
...a legacy postgresql database where the names of tables, columns, etc., do not usually follow Rails conventions. I''ve been able to work around it for the most part, but I ran into 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(:firs...