From be2a93525069de2dfa3c23b0c23e7a9f7ad4c03d Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 29 Dec 2024 15:14:43 +0100 Subject: First commit. --- test/fixtures/files/.keep | 0 test/fixtures/scores.yml | 11 +++++++++ test/fixtures/scoring_criteria.yml | 50 ++++++++++++++++++++++++++++++++++++++ test/fixtures/tartiflettes.yml | 7 ++++++ test/fixtures/users.yml | 9 +++++++ 5 files changed, 77 insertions(+) create mode 100644 test/fixtures/files/.keep create mode 100644 test/fixtures/scores.yml create mode 100644 test/fixtures/scoring_criteria.yml create mode 100644 test/fixtures/tartiflettes.yml create mode 100644 test/fixtures/users.yml (limited to 'test/fixtures') diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep new file mode 100644 index 0000000..e69de29 diff --git a/test/fixtures/scores.yml b/test/fixtures/scores.yml new file mode 100644 index 0000000..b71217b --- /dev/null +++ b/test/fixtures/scores.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + tartiflette: one + scoring_criterium: one + value: 1 + +two: + tartiflette: two + scoring_criterium: two + value: 2 diff --git a/test/fixtures/scoring_criteria.yml b/test/fixtures/scoring_criteria.yml new file mode 100644 index 0000000..e469210 --- /dev/null +++ b/test/fixtures/scoring_criteria.yml @@ -0,0 +1,50 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + category: visuel + name: présence de la pastille + +two: + category: visuel + name: croûte dorée + +three: + category: visuel + name: lardons apparents + + +four: + category: texture + name: Pommes de terre fondantes + +five: + category: texture + name: lardons grillés + +six: + category: texture + name: oignons biens cuits + + +seven: + category: goût + name: Reblochon savoureux + +eight: + category: goût + name: lardons appétants + +nine: + category: goût + name: vin blanc équilibré + + +ten: + category: special + name: on en reveut ! +eleven: + category: special + name: Quelqu'un cherche à dépasser les maestros... +twelve: + category: special + name: on reconnaît la patte du tartifleur diff --git a/test/fixtures/tartiflettes.yml b/test/fixtures/tartiflettes.yml new file mode 100644 index 0000000..ad75608 --- /dev/null +++ b/test/fixtures/tartiflettes.yml @@ -0,0 +1,7 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + scoring_id: 1 + +two: + scoring_id: 2 diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml new file mode 100644 index 0000000..0951563 --- /dev/null +++ b/test/fixtures/users.yml @@ -0,0 +1,9 @@ +<% password_digest = BCrypt::Password.create("password") %> + +one: + email_address: one@example.com + password_digest: <%= password_digest %> + +two: + email_address: two@example.com + password_digest: <%= password_digest %> -- cgit v1.2.3