From 7116826b854188604e21e2a613ac6672b6fd81f3 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 8 Sep 2025 21:21:56 +0200 Subject: Create Target and nutrient target table on dashboard. --- test/fixtures/target_allocations.yml | 11 +++++++++++ test/fixtures/targets.yml | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 test/fixtures/target_allocations.yml create mode 100644 test/fixtures/targets.yml (limited to 'test/fixtures') 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 -- cgit v1.2.3