Sha256: 57957a462fb2949879b9cca01139b38711506afb84826dab34ceb124ad11867c

Contents?: true

Size: 266 Bytes

Versions: 28

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :janus_instance, class: 'RubyRabbitmqJanus::Models::JanusInstance' do
    enable { true }
    session_id { (rand * 10_000_000_000).to_i }
    name { [*('a'..'z'), *('0'..'9')].sample(12).join }
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.387 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.385 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.384 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.382 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.366 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.364 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.0.pre.358 spec/factories/janus_instance.rb