Skip to content

Commit cbbdd1b

Browse files
Communicate what this heredoc is more correctly
1 parent 7b07133 commit cbbdd1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/openai/client/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
expect(user_proc).to receive(:call).with(JSON.parse('{"foo": "bar"}'))
4747
expect(user_proc).to receive(:call).with(JSON.parse('{"baz": "qud"}'))
4848

49-
stream.call(<<-JSON)
49+
stream.call(<<-CHUNK)
5050
data: { "foo": "bar" }
5151
5252
data: { "baz": "qud" }
5353
5454
data: [DONE]
5555
56-
JSON
56+
CHUNK
5757
end
5858
end
5959

0 commit comments

Comments
 (0)