2011-05-07 20:50:39 +02:00
|
|
|
require File.dirname(__FILE__) + '/../test_helper'
|
|
|
|
|
|
|
|
class GroupTest < Test::Unit::TestCase
|
|
|
|
fixtures :groups
|
|
|
|
|
|
|
|
# Replace this with your real tests.
|
|
|
|
def test_truth
|
|
|
|
assert true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2009-03-17 19:43:41 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: groups
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# type :string(255) default(""), not null
|
|
|
|
# name :string(255) default(""), not null
|
|
|
|
# description :string(255)
|
2011-05-07 20:50:39 +02:00
|
|
|
# account_balance :decimal(8, 2) default(0.0), not null
|
2009-03-17 19:43:41 +01:00
|
|
|
# account_updated :datetime
|
|
|
|
# created_on :datetime not null
|
2011-05-07 20:50:39 +02:00
|
|
|
# role_admin :boolean default(FALSE), not null
|
|
|
|
# role_suppliers :boolean default(FALSE), not null
|
|
|
|
# role_article_meta :boolean default(FALSE), not null
|
|
|
|
# role_finance :boolean default(FALSE), not null
|
|
|
|
# role_orders :boolean default(FALSE), not null
|
|
|
|
# weekly_task :boolean default(FALSE)
|
2009-03-17 19:43:41 +01:00
|
|
|
# weekday :integer
|
|
|
|
# task_name :string(255)
|
|
|
|
# task_description :string(255)
|
|
|
|
# task_required_users :integer default(1)
|
|
|
|
# deleted_at :datetime
|
|
|
|
# contact_person :string(255)
|
|
|
|
# contact_phone :string(255)
|
|
|
|
# contact_address :string(255)
|
2011-05-07 20:50:39 +02:00
|
|
|
# stats :text
|
2009-03-17 19:43:41 +01:00
|
|
|
#
|
|
|
|
|