Sha256: c72528c59d3d21b4e117a40e217b98a781b200e8ff82560f524b90ad9ff07d4a

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

require_relative '../../reference_resolution_test'

module IpaTestKit
  class ObservationReferenceResolutionTest < Inferno::Test
    include IpaTestKit::ReferenceResolutionTest

    title 'Every reference within Observation resources can be read'
    description %(
      This test will attempt to read the first 50 references found in the
      resources from the first search. The test will fail if Inferno fails to
      read any of those references.
    )

    id :ipa_010_observation_reference_resolution_test

    def resource_type
      'Observation'
    end

    def scratch_resources
      scratch[:observation_resources] ||= {}
    end

    run do
      perform_reference_resolution_test(scratch_resources[:all])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ipa_test_kit-0.2.0 lib/ipa_test_kit/generated/observation/observation_reference_resolution_test.rb