da08365816
Order.profit will also be saved, when order is closed.
26 lines
645 B
Ruby
26 lines
645 B
Ruby
# == Schema Information
|
|
# Schema version: 20090317175355
|
|
#
|
|
# Table name: orders
|
|
#
|
|
# id :integer not null, primary key
|
|
# supplier_id :integer
|
|
# note :text
|
|
# starts :datetime
|
|
# ends :datetime
|
|
# state :string(255) default("open")
|
|
# lock_version :integer default(0), not null
|
|
# updated_by_user_id :integer
|
|
# foodcoop_result :decimal(8, 2)
|
|
#
|
|
|
|
require File.dirname(__FILE__) + '/../test_helper'
|
|
|
|
class OrderTest < Test::Unit::TestCase
|
|
fixtures :orders
|
|
|
|
# Replace this with your real tests.
|
|
def test_truth
|
|
assert true
|
|
end
|
|
end
|