2009-03-17 19:43:41 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: articles
|
|
|
|
#
|
2009-08-01 13:41:22 +02:00
|
|
|
# id :integer(4) not null, primary key
|
2009-03-17 19:43:41 +01:00
|
|
|
# name :string(255) default(""), not null
|
2009-08-01 13:41:22 +02:00
|
|
|
# supplier_id :integer(4) default(0), not null
|
|
|
|
# article_category_id :integer(4) default(0), not null
|
2009-03-17 19:43:41 +01:00
|
|
|
# unit :string(255) default(""), not null
|
|
|
|
# note :string(255)
|
2009-08-01 13:41:22 +02:00
|
|
|
# availability :boolean(1) default(TRUE), not null
|
2009-03-17 19:43:41 +01:00
|
|
|
# manufacturer :string(255)
|
|
|
|
# origin :string(255)
|
|
|
|
# shared_updated_on :datetime
|
2009-08-01 13:41:22 +02:00
|
|
|
# price :decimal(8, 2)
|
2009-03-17 19:43:41 +01:00
|
|
|
# tax :float
|
2009-08-01 13:41:22 +02:00
|
|
|
# deposit :decimal(8, 2) default(0.0)
|
|
|
|
# unit_quantity :integer(4) default(1), not null
|
2009-03-17 19:43:41 +01:00
|
|
|
# order_number :string(255)
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# deleted_at :datetime
|
|
|
|
# type :string(255)
|
2009-08-01 13:41:22 +02:00
|
|
|
# quantity :integer(4) default(0)
|
2009-03-17 19:43:41 +01:00
|
|
|
#
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
require File.dirname(__FILE__) + '/../test_helper'
|
|
|
|
|
|
|
|
class ArticleTest < Test::Unit::TestCase
|
|
|
|
fixtures :articles
|
|
|
|
|
|
|
|
# Replace this with your real tests.
|
|
|
|
def test_truth
|
|
|
|
assert true
|
|
|
|
end
|
|
|
|
end
|