Sha256: f3ac728b022f324332e0014f5f354a80c9f147b83d36b8b27547f48342557e79

Contents?: true

Size: 242 Bytes

Versions: 14

Compression:

Stored size: 242 Bytes

Contents

Fabricator :profile do
  name { Forgery::Name.first_name }
  surname { Forgery::Name.last_name }
  birth_date { Date.current }
end

Fabricator :profile_with_tags, :from => :profile do
  tags!(:count => 3) { |profile, i| Fabricate(:tag) }
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/fabricators/profiles_fabricator.rb
puffer-0.1.0 spec/fabricators/profiles_fabricator.rb
puffer-0.0.32 spec/fabricators/profiles_fabricator.rb
puffer-0.0.31 spec/fabricators/profiles_fabricator.rb
puffer-0.0.30 spec/fabricators/profiles_fabricator.rb
puffer-0.0.29 spec/fabricators/profiles_fabricator.rb
puffer-0.0.28 spec/fabricators/profiles_fabricator.rb
puffer-0.0.26 spec/fabricators/profiles_fabricator.rb
puffer-0.0.25 spec/fabricators/profiles_fabricator.rb
puffer-0.0.24 spec/fabricators/profiles_fabricator.rb
puffer-0.0.23 spec/fabricators/profiles_fabricator.rb
puffer-0.0.22 spec/fabricators/profiles_fabricator.rb
puffer-0.0.21 spec/fabricators/profiles_fabricator.rb
puffer-0.0.20 spec/fabricators/profiles_fabricator.rb