Sha256: 12b3e82c7e73418bf147d2f7e0dbaba5a2922e1520a08db5f422296f331b0e97

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require 'faker'

FactoryGirl.define do
  factory :taxonomite_beingrep, :class => 'Taxonomite::BeingRep' do
    name { Faker::Lorem.word.capitalize }
  end

  factory :taxonomite_genusrep, :class => 'Taxonomite::GenusRep' do
    name { Faker::Lorem.word.capitalize }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taxonomite-0.2.3 spec/factories/entity.rb
taxonomite-0.1.0 spec/factories/entity.rb