Sha256: 66700caa9ba615d9bce890960bff25369504b28c4eb880873275b05d3000abd3

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :myschemawithid, parent: :base do
    topic { 'my_consume_topic_with_id' }
    schema { 'MySchemaWithId' }
    namespace { 'com.my-namespace' }
    key_config { { schema: 'MySchema-key' } }
    fields do
      {
        test_id: -> { Faker::Name.name },
        some_int: -> { Faker::Number.number(5) }
      }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flipp-ruby-kafka-temp-fork-0.0.6 kafkateria/factories/my_schema_with_id.rb
flipp-ruby-kafka-temp-fork-0.0.5 kafkateria/factories/my_schema_with_id.rb
flipp-ruby-kafka-temp-fork-0.0.4 kafkateria/factories/my_schema_with_id.rb
flipp-ruby-kafka-temp-fork-0.0.3 kafkateria/factories/my_schema_with_id.rb
flipp-ruby-kafka-temp-fork-0.0.2 kafkateria/factories/my_schema_with_id.rb
flipp-ruby-kafka-temp-fork-0.0.1 kafkateria/factories/my_schema_with_id.rb