search for: sponsor_test

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

2005 Dec 22
2
nonstandard postgresql sequence names
...ed "sponsor_key" instead of id, and instead of it being a serial type, it is just an integer. It is incremented using a sequence named "sponsor_seq". I also have a sponsors.yml fixture with unremarkable contents. When I try and run the test I get this: Loaded suite test/unit/sponsor_test Started EWARNING: there is no transaction in progress E Finished in 0.831961 seconds. 1) Error: test_truth(SponsorTest): ActiveRecord::StatementInvalid: PGError: ERROR: relation "sponsor_sponsor_key_seq" does not exist : SELECT setval(''sponsor_sponsor_key_seq'', (SE...