summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2025-09-08 21:21:56 +0200
committerMarius Peter <dev@marius-peter.com>2025-09-08 21:21:56 +0200
commit7116826b854188604e21e2a613ac6672b6fd81f3 (patch)
tree33150bf2e04e69b8e1fa7d37901d2643b1955534 /test/fixtures
parent8ba568ae0ebe715b5da453681eb141886f1977a8 (diff)
Create Target and nutrient target table on dashboard.
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/target_allocations.yml11
-rw-r--r--test/fixtures/targets.yml7
2 files changed, 18 insertions, 0 deletions
diff --git a/test/fixtures/target_allocations.yml b/test/fixtures/target_allocations.yml
new file mode 100644
index 0000000..0ba49ee
--- /dev/null
+++ b/test/fixtures/target_allocations.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ target: one
+ nutrient_profile: one
+ percentage: 9.99
+
+two:
+ target: two
+ nutrient_profile: two
+ percentage: 9.99
diff --git a/test/fixtures/targets.yml b/test/fixtures/targets.yml
new file mode 100644
index 0000000..7d41224
--- /dev/null
+++ b/test/fixtures/targets.yml
@@ -0,0 +1,7 @@
+# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ name: MyString
+
+two:
+ name: MyString
Copyright 2019--2025 Marius PETER