Sha256: 407d4ef5f51b047a52700cd73a678c91acdaea68b86b8d5bee00fdbbce7fcbca

Contents?: true

Size: 167 Bytes

Versions: 5

Compression:

Stored size: 167 Bytes

Contents

FactoryBot.define do
  factory :identifier do
    sequence(:body){|n| "identifier_body_#{n}"}
    identifier_type_id{FactoryBot.create(:identifier_type).id}
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_biblio-0.3.2 spec/factories/identifier.rb
enju_biblio-0.3.1 spec/factories/identifier.rb
enju_biblio-0.3.0 spec/factories/identifier.rb
enju_biblio-0.3.0.rc.1 spec/factories/identifier.rb
enju_biblio-0.3.0.beta.2 spec/factories/identifier.rb