Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Fotso <[email protected]>
  • Loading branch information
vanessuniq committed Aug 26, 2024
1 parent eb476c6 commit 6716a84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/inferno/dsl/fhir_resource_validation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@
.to_return(
status: 500,
body: "<html><body>Internal Server Error: content#{0.chr} with non-printable#{1.chr} characters</body></html>"
)
)

expect do
validator.resource_is_valid?(resource2, profile_url, runnable)
end.to raise_error(Inferno::Exceptions::ErrorInValidatorException)

msg = runnable.messages.first[:message]
expect(msg).not_to include(0.chr)
expect(msg).not_to include(1.chr)
expect(msg).to_not include(0.chr)
expect(msg).to_not include(1.chr)
expect(msg).to match(/Internal Server Error: content with non-printable/)
end
end
Expand Down
6 changes: 3 additions & 3 deletions spec/inferno/dsl/fhir_validation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@
.to_return(
status: 500,
body: "<html><body>Internal Server Error: content#{0.chr} with non-printable#{1.chr} characters</body></html>"
)
)

expect do
validator.resource_is_valid?(resource, profile_url, runnable)
end.to raise_error(Inferno::Exceptions::ErrorInValidatorException)

msg = runnable.messages.first[:message]
expect(msg).not_to include(0.chr)
expect(msg).not_to include(1.chr)
expect(msg).to_not include(0.chr)
expect(msg).to_not include(1.chr)
expect(msg).to match(/Internal Server Error: content with non-printable/)
end
end
Expand Down

0 comments on commit 6716a84

Please sign in to comment.