Skip to content

Commit

Permalink
Update blueprints for new data structure. Specs not passing. [#19]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Oct 13, 2009
1 parent 0c6d854 commit 8ce386f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/blueprints.rb
Expand Up @@ -43,10 +43,11 @@
city
state
zip
active {true}
end

User.blueprint(:inactive) do
activated_at {nil}
active {false}
end

Commitment.blueprint do
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 8ce386f

Please sign in to comment.