diff --git a/Gemfile.lock b/Gemfile.lock index b58b66e..4ef42e2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: ipa_test_kit (0.7.1) - inferno_core (~> 1.0, >= 1.0.2) + inferno_core (~> 1.2) smart_app_launch_test_kit (~> 1.0) tls_test_kit (~> 1.0) @@ -141,7 +141,7 @@ GEM mutex_m i18n (1.14.7) concurrent-ruby (~> 1.0) - inferno_core (1.1.0) + inferno_core (1.2.0) activesupport (~> 6.1.7.5) base62-rb (= 0.3.1) blueprinter (= 0.25.2) diff --git a/ipa_test_kit.gemspec b/ipa_test_kit.gemspec index b57da6e..3e9dc6e 100644 --- a/ipa_test_kit.gemspec +++ b/ipa_test_kit.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |spec| spec.description = 'IPA Inferno tests' spec.homepage = 'https://github.com/inferno-framework/ipa-test-kit' spec.license = 'Apache-2.0' - spec.add_runtime_dependency 'inferno_core', '~> 1.0', '>= 1.0.2' + spec.add_runtime_dependency 'inferno_core', '~> 1.2' spec.add_runtime_dependency 'smart_app_launch_test_kit', '~> 1.0' spec.add_runtime_dependency 'tls_test_kit', '~> 1.0' spec.add_development_dependency 'database_cleaner-sequel', '~> 1.8' diff --git a/lib/ipa_test_kit/reference_resolution_test.rb b/lib/ipa_test_kit/reference_resolution_test.rb index 30d5087..4fb4f1e 100644 --- a/lib/ipa_test_kit/reference_resolution_test.rb +++ b/lib/ipa_test_kit/reference_resolution_test.rb @@ -86,7 +86,7 @@ def unresolved_references(resources = []) found_one_reference = false resolve_one_reference = resources.any? do |resource| - value_found = resolve_path(resource, path) + value_found = resolve_path(resource, path).select { |value| value.is_a?(FHIR::Reference) } next if value_found.empty? found_one_reference = true