diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-08-24 20:29:54 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-08-24 20:29:54 +0200 |
commit | 52b044d6a4278c229992404ad5801769c2d13363 (patch) | |
tree | b30b34da58f26117c035391d09366b190350b1e3 /test/fixtures |
First commit.
Vive le Castel Peter !
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/beds.yml | 7 | ||||
-rw-r--r-- | test/fixtures/crops.yml | 41 | ||||
-rw-r--r-- | test/fixtures/fertilizer_products.yml | 9 | ||||
-rw-r--r-- | test/fixtures/files/.keep | 0 | ||||
-rw-r--r-- | test/fixtures/nutrient_measurements.yml | 39 | ||||
-rw-r--r-- | test/fixtures/nutrients.yml | 9 | ||||
-rw-r--r-- | test/fixtures/rafts.yml | 9 |
7 files changed, 114 insertions, 0 deletions
diff --git a/test/fixtures/beds.yml b/test/fixtures/beds.yml new file mode 100644 index 0000000..330db85 --- /dev/null +++ b/test/fixtures/beds.yml @@ -0,0 +1,7 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + number: 1 + +two: + number: 1 diff --git a/test/fixtures/crops.yml b/test/fixtures/crops.yml new file mode 100644 index 0000000..32cd3d5 --- /dev/null +++ b/test/fixtures/crops.yml @@ -0,0 +1,41 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyString + crop_type: 1 + nno3: 1.5 + p: 1.5 + k: 1.5 + ca: 1.5 + mg: 1.5 + s: 1.5 + na: 1.5 + cl: 1.5 + si: 1.5 + fe: 1.5 + zn: 1.5 + b: 1.5 + mn: 1.5 + cu: 1.5 + mo: 1.5 + nnh4: 1.5 + +two: + name: MyString + crop_type: 1 + nno3: 1.5 + p: 1.5 + k: 1.5 + ca: 1.5 + mg: 1.5 + s: 1.5 + na: 1.5 + cl: 1.5 + si: 1.5 + fe: 1.5 + zn: 1.5 + b: 1.5 + mn: 1.5 + cu: 1.5 + mo: 1.5 + nnh4: 1.5 diff --git a/test/fixtures/fertilizer_products.yml b/test/fixtures/fertilizer_products.yml new file mode 100644 index 0000000..5784aac --- /dev/null +++ b/test/fixtures/fertilizer_products.yml @@ -0,0 +1,9 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyString + purity: 9.99 + +two: + name: MyString + purity: 9.99 diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/fixtures/files/.keep diff --git a/test/fixtures/nutrient_measurements.yml b/test/fixtures/nutrient_measurements.yml new file mode 100644 index 0000000..8408647 --- /dev/null +++ b/test/fixtures/nutrient_measurements.yml @@ -0,0 +1,39 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + measured_on: 2025-08-20 + nno3: 1.5 + p: 1.5 + k: 1.5 + ca: 1.5 + mg: 1.5 + s: 1.5 + na: 1.5 + cl: 1.5 + si: 1.5 + fe: 1.5 + zn: 1.5 + b: 1.5 + mn: 1.5 + cu: 1.5 + mo: 1.5 + nnh4: 1.5 + +two: + measured_on: 2025-08-20 + nno3: 1.5 + p: 1.5 + k: 1.5 + ca: 1.5 + mg: 1.5 + s: 1.5 + na: 1.5 + cl: 1.5 + si: 1.5 + fe: 1.5 + zn: 1.5 + b: 1.5 + mn: 1.5 + cu: 1.5 + mo: 1.5 + nnh4: 1.5 diff --git a/test/fixtures/nutrients.yml b/test/fixtures/nutrients.yml new file mode 100644 index 0000000..f3c6fc9 --- /dev/null +++ b/test/fixtures/nutrients.yml @@ -0,0 +1,9 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + formula: MyString + name: MyString + +two: + formula: MyString + name: MyString diff --git a/test/fixtures/rafts.yml b/test/fixtures/rafts.yml new file mode 100644 index 0000000..1869e29 --- /dev/null +++ b/test/fixtures/rafts.yml @@ -0,0 +1,9 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + bed: one + location: 1 + +two: + bed: two + location: 1 |