Workshop and event scaffolds

This commit is contained in:
Godwin
2014-03-15 13:40:38 -06:00
parent 3d6ad3b432
commit 8e26bb1797
62 changed files with 933 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :event_type do
slug "MyString"
info "MyText"
end
end
+14
View File
@@ -0,0 +1,14 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :event do
title "MyString"
slug "MyString"
event_type_id 1
conference ""
info "MyText"
location ""
start_time "2014-03-15 12:32:41"
end_time "2014-03-15 12:32:41"
end
end
+9
View File
@@ -0,0 +1,9 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :workshop_facilitator do
user_id 1
workshop_id 1
role "MyString"
end
end
@@ -0,0 +1,9 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :workshop_requested_resource do
workshop_id 1
workshop_resource_id 1
status "MyString"
end
end