Adds organization model
This commit is contained in:
parent
a95a03c7e5
commit
b63f3fa7c9
5 changed files with 84 additions and 10 deletions
11
spec/factories/organizations.rb
Normal file
11
spec/factories/organizations.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :organization do
|
||||
name 'Example organization'
|
||||
sequence(:email) { |n| "example#{n}@example.com" }
|
||||
website_url 'www.esxample.com'
|
||||
description 'Lorem Ipsum Dolor'
|
||||
phone_number '900099009'
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue