search for: account_to_credit_id

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

2006 Oct 24
1
test env. differs from development env, tests breaking
...9;s boxes. Most of the failing tests seem to involve verifying that validations are working. Take the example of check details: create_table( :check_details ) do |t| t.column( :check_id, :integer ) t.column( :description, :string ) t.column( :amount_in_cents, :integer ) #t.column( :account_to_credit_id, :integer ) #t.column( :account_to_debit_id, :integer ) end add_index( :check_details, :check_id ) Now from test/unit/check_detail_test.rb, # validates_presence_of :check_id cd = CheckDetail.new( :amount => 21.21, :description => "Services Rendered" ) ass...