From 8ce386ffdb950cc278f05cde84756266701ea799 Mon Sep 17 00:00:00 2001 From: Marnen Laibow-Koser Date: Mon, 12 Oct 2009 23:04:41 -0400 Subject: [PATCH] Update blueprints for new data structure. Specs not passing. [#19] --- spec/blueprints.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/blueprints.rb b/spec/blueprints.rb index 8b012cde..f652b722 100644 --- a/spec/blueprints.rb +++ b/spec/blueprints.rb @@ -43,10 +43,11 @@ city state zip + active {true} end User.blueprint(:inactive) do - activated_at {nil} + active {false} end Commitment.blueprint do @@ -82,7 +83,7 @@ firstname {Faker::Name.first_name} lastname {Faker::Name.last_name} generic_name {Faker::Name.last_name} - password {(1..(rand(15) + 2)).map{(32..127).to_a.rand.chr}.join} + password {(1..(rand(15) + 4)).map{(32..127).to_a.rand.chr}.join} street {Faker::Address.street_address} street2 {Faker::Address.secondary_address} zip {Faker::Address.zip_code}