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-4.0.1 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.1.pre.1265973744 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.1.pre.1265506307 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.1.pre.1265140558 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.1001345090 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.1001181479 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.1001132533 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.1001107243 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.1001043172 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.949167646 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.946892338 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.946565704 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.939149205 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.939137013 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.939133437 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.939119110 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.939113634 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-4.0.0.pre.850041590 spec/factories/janus_instance.rb
ruby_rabbitmq_janus-3.0.1 spec/factories/janus_instance.rb