search for: check_detail_test

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

2006 Oct 24
1
test env. differs from development env, tests breaking
...heck_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" ) assert(!cd.save, "Shouldn''t be able to save this like this here thing.") This fails when I run tests, but when I do it in develop...