Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Metadata File Path #64

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions carin_for_blue_button_test_kit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
Dir['lib/**/*.tgz'],
Dir['lib/**/*.yml'],
Dir['lib/**/*.md'],
Dir['lib/**/*.erb'],
'LICENSE'
].flatten

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ def read_next_page(request, test = nil, test_result = nil)
def get_metadata
erb_template = ERB.new(
File.read(
'lib/carin_for_blue_button_test_kit/client/v2.0.0/metadata/mock_capability_statement.json.erb'
File.join(__dir__,
'metadata/mock_capability_statement.json.erb')
)
)
capability_statement = JSON.parse(erb_template.result).to_json
Expand Down Expand Up @@ -188,7 +189,8 @@ def resource_id_endpoint(url)

def mock_operation_outcome_resource
FHIR.from_contents(File.read(
'lib/carin_for_blue_button_test_kit/client/v2.0.0/metadata/mock_operation_outcome_resource.json'
File.join(__dir__,
'metadata/mock_operation_outcome_resource.json')
))
end

Expand Down
Loading