1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

add event fixtures

This commit is contained in:
Sylvain 2016-11-28 11:00:01 +01:00
parent 585d137cfc
commit 6439bc68e5
3 changed files with 35 additions and 0 deletions

View File

@ -159,3 +159,13 @@ availability_16:
updated_at: 2016-04-04 15:44:04.023557000 Z
nb_total_places:
destroying: false
availability_17:
id: 17
start_at: <%= 10.days.from_now.utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %>
end_at: <%= 12.days.from_now.utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %>
available_type: machines
created_at: 2016-04-04 15:44:04.023557000 Z
updated_at: 2016-04-04 15:44:04.023557000 Z
nb_total_places:
destroying: false

View File

@ -11,3 +11,15 @@ two:
event_id: 2
price_category_id: 1
amount: 1700
radio_youngs:
id: 3
event_id: 4
price_category_id: 1
amount: 7500
radio_unemployed:
id: 4
event_id: 4
price_category_id: 2
amount: 8000

View File

@ -41,3 +41,16 @@ event_1:
nb_free_places: 10
recurrence_id: 1
category_id: 2
event_4:
id: 4
title: Radio numérique
description: "Confectionnez votre propre récepteur FM compatible avec la radio numérique terrestre (RNT) :\r\n- logiciel
embarqué\r\n- électronique\r\n- démodulation d'ondes porteuses\r\n- conception et réalisation du design"
created_at: 2016-11-28 10:52:50.615611000 Z
updated_at: 2016-11-28 10:52:50.615611000 Z
availability_id: 17
amount: 10000
nb_total_places: 10
nb_free_places: 10
category_id: 1