initial test suite
This commit is contained in:
1 parent
1758dc466a
commit
2bde75720c
14 files changed
+335
-8
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: organizations
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# uuid :string(255)
|
||||
# name :string(255)
|
||||
# permalink :string(255)
|
||||
# time_zone :string(255)
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# ip_pool_id :integer
|
||||
# owner_id :integer
|
||||
# deleted_at :datetime
|
||||
# suspended_at :datetime
|
||||
# suspension_reason :string(255)
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_organizations_on_permalink (permalink)
|
||||
# index_organizations_on_uuid (uuid)
|
||||
#
|
||||
|
||||
FactoryGirl.define do
|
||||
|
||||
factory :organization do
|
||||
name "Acme Inc"
|
||||
sequence(:permalink) { |n| "org#{n}" }
|
||||
association :owner, :factory => :user
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user