Sha256: d3b61a39f76664a3fa9f14cccef9d22b17cac5e8dd31dc1c6a65461d97cec9e6

Contents?: true

Size: 293 Bytes

Versions: 7

Compression:

Stored size: 293 Bytes

Contents

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

    response Hash.new
    timezone { build(:timezone) }

    factory :json_unity_response, class: AllscriptsUnityClient::JSONUnityResponse
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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