The working basics
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_admin do
|
||||
conference_id 1
|
||||
user_id 1
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_host_organization do
|
||||
conference_id 1
|
||||
organization_id 1
|
||||
order 1
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_registration_response do
|
||||
conference_registration_id 1
|
||||
registration_form_field_id 1
|
||||
data "MyText"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_registration do
|
||||
conference_id 1
|
||||
user_id 1
|
||||
is_attending "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_registraton_form_field do
|
||||
conference_id 1
|
||||
registration_form_field_id 1
|
||||
order 1
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference_type do
|
||||
title "MyString"
|
||||
info "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference do
|
||||
title "MyString"
|
||||
slug "MyString"
|
||||
start_date "2014-03-01 13:21:57"
|
||||
end_date "2014-03-01 13:21:57"
|
||||
info "MyText"
|
||||
poster "MyString"
|
||||
banner "MyString"
|
||||
workshop_schedule_published false
|
||||
registration_open false
|
||||
meals_provided false
|
||||
meal_info "MyText"
|
||||
travel_info "MyText"
|
||||
conference_type ""
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :location do
|
||||
title "MyString"
|
||||
address "MyString"
|
||||
latitude 1.5
|
||||
longitude 1.5
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :locations_organization, :class => 'LocationsOrganizations' do
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :organization_status do
|
||||
name "MyString"
|
||||
slug "MyString"
|
||||
info "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :organization do
|
||||
name "MyString"
|
||||
slug "MyString"
|
||||
email_address "MyString"
|
||||
url "MyString"
|
||||
year_founded 1
|
||||
info "MyText"
|
||||
logo "MyString"
|
||||
avatar "MyString"
|
||||
requires_approval false
|
||||
secret_question "MyString"
|
||||
secret_answer "MyString"
|
||||
location_id 1
|
||||
user_organization_replationship_id 1
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :registration_form_field do
|
||||
title "MyString"
|
||||
help "MyText"
|
||||
required false
|
||||
field_type "MyString"
|
||||
options "MyString"
|
||||
is_retired false
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :translation do
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user_organization_relationship do
|
||||
user_id 1
|
||||
organization_id 1
|
||||
relationship "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :version do
|
||||
item_type "MyString"
|
||||
item_id 1
|
||||
event "MyString"
|
||||
whodunnit "MyString"
|
||||
object "MyText"
|
||||
created_at "2014-02-11 19:21:15"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :workshop_presentation_style do
|
||||
name "MyString"
|
||||
slug "MyString"
|
||||
info "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :workshop_resource do
|
||||
name "MyString"
|
||||
slug "MyString"
|
||||
info "MyString"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :workshop_stream do
|
||||
name "MyString"
|
||||
slug "MyString"
|
||||
info "MyString"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user