"Snow" is_nights_watch true trait(:knows_nothing) { knows [] } trait(:has_animal) { animal } trait(:has_direwolf) do association :animal, factory: :direwolf end end end 9
} email { Faker::Internet.email } bitcoin { Faker::Bitcoin.address } about { Faker::Lorem.paragraph(2).join("\n") } end Make your tests less dependent on specific data. This is a Good Thing™. 18