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:
parent
585d137cfc
commit
6439bc68e5
10
test/fixtures/availabilities.yml
vendored
10
test/fixtures/availabilities.yml
vendored
@ -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
|
12
test/fixtures/event_price_categories.yml
vendored
12
test/fixtures/event_price_categories.yml
vendored
@ -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
|
13
test/fixtures/events.yml
vendored
13
test/fixtures/events.yml
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user