Skip to content

Commit bb5e9df

Browse files
committed
Print all validation errors in live_content_spec
The errors reported by RSpec are truncated by default. It's useful to see all of them when there are any so you don't need to rerun the tests after addressing each one
1 parent db94f9e commit bb5e9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/graphql/live_content_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
parsed_response = JSON.parse(response.body)
4242
errors = JSON::Validator.fully_validate(schema, parsed_response)
4343

44-
expect(errors).to eql([])
44+
expect(errors).to eql([]), errors.join("\n")
4545
end
4646
end
4747
end

0 commit comments

Comments
 (0)