Skip to content

Commit 30debab

Browse files
committed
Clean up
1 parent 97b06d6 commit 30debab

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

spec/openai/client/realtime_spec.rb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
let(:realtime) { client.realtime }
44

55
describe "#create" do
6-
context "when a model is specified" do
7-
it "uses the specified model" do
8-
custom_model = "gpt-4o-realtime-preview-2024-12-18"
9-
VCR.use_cassette("realtime_session_create_custom_model") do
10-
response = realtime.create(parameters: { model: custom_model })
11-
expect(response["model"]).to eq(custom_model)
12-
end
6+
it "uses the specified model" do
7+
custom_model = "gpt-4o-realtime-preview-2024-12-18"
8+
VCR.use_cassette("realtime_session_create_custom_model") do
9+
response = realtime.create(parameters: { model: custom_model })
10+
expect(response["model"]).to eq(custom_model)
1311
end
1412
end
1513

0 commit comments

Comments
 (0)