Sha256: e2d35fa78e2f725f21d5d7feddb8fd926fc66924d3c2ba822d7f93076d4b424b

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

FactoryBot.define do
  factory :client_driver, class: AllscriptsUnityClient::ClientDriver do
    initialize_with { new(attributes) }

    base_unity_url 'http://www.example.com'
    username Faker::Name.name
    password Faker::Internet.password
    appname Faker::Name.name
    proxy nil
    timezone 'America/Phoenix'
    logger nil
    ca_file nil
    ca_path nil
    timeout nil

    factory :json_client_driver, class: AllscriptsUnityClient::JSONClientDriver

    skip_create
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
allscripts_unity_client-4.0.1 spec/factories/client_driver_factory.rb
allscripts_unity_client-4.0.0 spec/factories/client_driver_factory.rb