Add & Display Flights
This commit is contained in:
19
test/fixtures/aircrafts.yml
vendored
Normal file
19
test/fixtures/aircrafts.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
reg: MyString
|
||||
serial: MyString
|
||||
tach: 1.5
|
||||
hobbs: 1.5
|
||||
purchase_date: 2022-01-13
|
||||
purchase_tach: 1.5
|
||||
purchase_hobbs: 1.5
|
||||
|
||||
two:
|
||||
reg: MyString
|
||||
serial: MyString
|
||||
tach: 1.5
|
||||
hobbs: 1.5
|
||||
purchase_date: 2022-01-13
|
||||
purchase_tach: 1.5
|
||||
purchase_hobbs: 1.5
|
||||
19
test/fixtures/engines.yml
vendored
Normal file
19
test/fixtures/engines.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
aircraft: one
|
||||
oil_date: 2022-01-13
|
||||
oil_tach: 1.5
|
||||
major_date: 2022-01-13
|
||||
major_tach: 1.5
|
||||
top_date: 2022-01-13
|
||||
top_tach: 1.5
|
||||
|
||||
two:
|
||||
aircraft: two
|
||||
oil_date: 2022-01-13
|
||||
oil_tach: 1.5
|
||||
major_date: 2022-01-13
|
||||
major_tach: 1.5
|
||||
top_date: 2022-01-13
|
||||
top_tach: 1.5
|
||||
23
test/fixtures/flights.yml
vendored
Normal file
23
test/fixtures/flights.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
aircraft: one
|
||||
date: 2022-01-13
|
||||
from: MyString
|
||||
to: MyString
|
||||
tach: 1.5
|
||||
hobbs: 1.5
|
||||
oil: false
|
||||
fuel: false
|
||||
time: 1.5
|
||||
|
||||
two:
|
||||
aircraft: two
|
||||
date: 2022-01-13
|
||||
from: MyString
|
||||
to: MyString
|
||||
tach: 1.5
|
||||
hobbs: 1.5
|
||||
oil: false
|
||||
fuel: false
|
||||
time: 1.5
|
||||
19
test/fixtures/inspections.yml
vendored
Normal file
19
test/fixtures/inspections.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
aircraft: one
|
||||
annual_date: 2022-01-13
|
||||
annual_tach: 1.5
|
||||
annual_hobs: 1.5
|
||||
pitot_static: 2022-01-13
|
||||
vor: 2022-01-13
|
||||
elt: 2022-01-13
|
||||
|
||||
two:
|
||||
aircraft: two
|
||||
annual_date: 2022-01-13
|
||||
annual_tach: 1.5
|
||||
annual_hobs: 1.5
|
||||
pitot_static: 2022-01-13
|
||||
vor: 2022-01-13
|
||||
elt: 2022-01-13
|
||||
Reference in New Issue
Block a user