Sha256: a7f062f2c67ddd77269b412931eeafddd1cb88f919852a03b9eccb2fd7141cb8

Contents?: true

Size: 401 Bytes

Versions: 7

Compression:

Stored size: 401 Bytes

Contents

FactoryGirl.define do
  factory :unity_request, class: AllscriptsUnityClient::UnityRequest do
    initialize_with { new(parameters, timezone, appname, security_token) }

    parameters { build(:magic_request) }
    timezone { build(:timezone) }
    appname Faker::Name.name
    security_token SecureRandom.uuid

    factory :json_unity_request, class: AllscriptsUnityClient::JSONUnityRequest
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
allscripts_unity_client-2.1.6 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.5 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.4 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.3 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.2 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.1 spec/factories/unity_request_factory.rb
allscripts_unity_client-2.1.0 spec/factories/unity_request_factory.rb