search for: quartz_heater_job

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

Did you mean: quartz_heater_jobs
2006 Dec 14
1
create and destroy fixture manually in method
...itional fixture. The problem is the additional fixture depend on that two fixtures (foreign key). When I run the test, it complains something like this: ActiveRecord::StatementInvalid: PGError: ERROR: update or delete on "quartz_heater_order_letters" violates foreign key constraint "quartz_heater_jobs_quartz_heater_order_letter_id_fkey" on "quartz_heater_jobs" DETAIL: Key (id)=(1) is still referenced from table "quartz_heater_jobs". : DELETE FROM quartz_heater_order_letters So how do I create fixture manually and destroy it manually in method? Something like this: def...