Skip to content

Commit 58dc6b9

Browse files
committed
Clean up
1 parent 5d525b3 commit 58dc6b9

File tree

3 files changed

+9
-65
lines changed

3 files changed

+9
-65
lines changed

spec/fixtures/cassettes/finetunes_retrieve_for_finetunes.yml

Lines changed: 0 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/openai/client/client_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979
c1.files.list
8080
c2.files.list
8181

82+
c0.finetunes.list
83+
c1.finetunes.list
84+
c2.finetunes.list
85+
8286
c0.images.generate
8387
c1.images.generate
8488
c2.images.generate
@@ -93,6 +97,10 @@
9397
expect(c1).to receive(:get).with(path: "/files").once
9498
expect(c2).to receive(:get).with(path: "/files").once
9599

100+
expect(c0).to receive(:get).with(path: "/fine_tuning/jobs").once
101+
expect(c1).to receive(:get).with(path: "/fine_tuning/jobs").once
102+
expect(c2).to receive(:get).with(path: "/fine_tuning/jobs").once
103+
96104
expect(c0).to receive(:json_post).with(path: "/images/generations", parameters: {}).once
97105
expect(c1).to receive(:json_post).with(path: "/images/generations", parameters: {}).once
98106
expect(c2).to receive(:json_post).with(path: "/images/generations", parameters: {}).once

spec/openai/client/finetunes_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
RSpec.describe OpenAI::Client do
2-
describe "#finetuness", :vcr do
2+
describe "#finetunes", :vcr do
33
let(:model) { "gpt-3.5-turbo-0613" }
44

55
describe "#list" do

0 commit comments

Comments
 (0)