mirror of
https://github.com/openSUSE/osem.git
synced 2026-05-19 06:00:14 -04:00
Style factories. Trigger houndci
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :call_for_papers do
|
||||
start_date Date.today - 1
|
||||
end_date Date.today + 7
|
||||
hard_deadline Date.today + 8
|
||||
description "We call for papers"
|
||||
start_date Date.today - 1
|
||||
end_date Date.today + 7
|
||||
hard_deadline Date.today + 8
|
||||
description 'We call for papers'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :conference do
|
||||
title "The dog and pony show"
|
||||
short_title "dps14"
|
||||
social_tag "dps14"
|
||||
timezone "Amsterdam"
|
||||
contact_email "admin@example.com"
|
||||
title 'The dog and pony show'
|
||||
short_title 'dps14'
|
||||
social_tag 'dps14'
|
||||
timezone 'Amsterdam'
|
||||
contact_email 'admin@example.com'
|
||||
start_date Date.today
|
||||
end_date Date.tomorrow
|
||||
end
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
email 'example@example.com'
|
||||
|
||||
Reference in New Issue
Block a user