Sha256: b58efdf585910817810706f5831d0c582a5d426cab511c8809f27868c482d128

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

FactoryBot.define do
  factory :unity_response, class: AllscriptsUnityClient::UnityResponse do
    initialize_with { new(response, timezone) }

    response Hash.new
    timezone ActiveSupport::TimeZone['Etc/UTC']

    factory :json_unity_response, class: AllscriptsUnityClient::JSONUnityResponse

    skip_create
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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