From e7a3ab7a73985eab5709f2406462cdb059f1755b Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 10 Aug 2011 21:46:27 -0400 Subject: [PATCH] updating the test fixtures ... 15.9 does not appear to be working as advertised, but I will assume it is my fault (for now) --- .../015/hodgepodge/test/fixtures/people.yml | 19 +++++++++++++------ .../015/hodgepodge/test/fixtures/users.yml | 12 +++++++----- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/cookbook/015/hodgepodge/test/fixtures/people.yml b/cookbook/015/hodgepodge/test/fixtures/people.yml index 2893341..6b0a880 100644 --- a/cookbook/015/hodgepodge/test/fixtures/people.yml +++ b/cookbook/015/hodgepodge/test/fixtures/people.yml @@ -3,9 +3,16 @@ # This model initially had no columns defined. If you add columns to the # model remove the '{}' from the fixture names and add the columns immediately # below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value + +one: + name: "John Doe" + email: "john@doe.com" + +two: + name: "Jane Doe" + email: "janeybear@yahoo.com" + +three: + name: "Manny Bananny" + email: "hunka@burninluv.us" + diff --git a/cookbook/015/hodgepodge/test/fixtures/users.yml b/cookbook/015/hodgepodge/test/fixtures/users.yml index 2893341..3db618e 100644 --- a/cookbook/015/hodgepodge/test/fixtures/users.yml +++ b/cookbook/015/hodgepodge/test/fixtures/users.yml @@ -4,8 +4,10 @@ # model remove the '{}' from the fixture names and add the columns immediately # below each fixture, per the syntax in the comments below # -one: {} -# column: value -# -two: {} -# column: value +one: + username: johndoe + hashed_password: 019768a0e586a21e3250db985405554ccde798fc + +two: + username: janedoe + hashed_password: 019768a0e586a21e3250db985405554ccde798fc