Skip to content

Commit 70851da

Browse files
committed
Rubocop
1 parent c4c1322 commit 70851da

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/compatibility_spec.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22
context "for moved constants" do
33
describe "::Ruby::OpenAI::VERSION" do
44
it "is mapped to ::OpenAI::VERSION" do
5-
expect(::Ruby::OpenAI::VERSION).to eq(::OpenAI::VERSION)
5+
expect(Ruby::OpenAI::VERSION).to eq(OpenAI::VERSION)
66
end
77
end
88

99
describe "::Ruby::OpenAI::Error" do
1010
it "is mapped to ::OpenAI::Error" do
11-
expect(::Ruby::OpenAI::Error).to eq(::OpenAI::Error)
12-
expect(::Ruby::OpenAI::Error.new).to be_a(::OpenAI::Error)
13-
expect(::OpenAI::Error.new).to be_a(::Ruby::OpenAI::Error)
11+
expect(Ruby::OpenAI::Error).to eq(OpenAI::Error)
12+
expect(Ruby::OpenAI::Error.new).to be_a(OpenAI::Error)
13+
expect(OpenAI::Error.new).to be_a(Ruby::OpenAI::Error)
1414
end
1515
end
1616

1717
describe "::Ruby::OpenAI::ConfigurationError" do
1818
it "is mapped to ::OpenAI::ConfigurationError" do
19-
expect(::Ruby::OpenAI::ConfigurationError).to eq(::OpenAI::ConfigurationError)
20-
expect(::Ruby::OpenAI::ConfigurationError.new).to be_a(::OpenAI::ConfigurationError)
21-
expect(::OpenAI::ConfigurationError.new).to be_a(::Ruby::OpenAI::ConfigurationError)
19+
expect(Ruby::OpenAI::ConfigurationError).to eq(OpenAI::ConfigurationError)
20+
expect(Ruby::OpenAI::ConfigurationError.new).to be_a(OpenAI::ConfigurationError)
21+
expect(OpenAI::ConfigurationError.new).to be_a(Ruby::OpenAI::ConfigurationError)
2222
end
2323
end
2424

2525
describe "::Ruby::OpenAI::Configuration" do
2626
it "is mapped to ::OpenAI::Configuration" do
27-
expect(::Ruby::OpenAI::Configuration).to eq(::OpenAI::Configuration)
28-
expect(::Ruby::OpenAI::Configuration.new).to be_a(::OpenAI::Configuration)
29-
expect(::OpenAI::Configuration.new).to be_a(::Ruby::OpenAI::Configuration)
27+
expect(Ruby::OpenAI::Configuration).to eq(OpenAI::Configuration)
28+
expect(Ruby::OpenAI::Configuration.new).to be_a(OpenAI::Configuration)
29+
expect(OpenAI::Configuration.new).to be_a(Ruby::OpenAI::Configuration)
3030
end
3131
end
3232
end

0 commit comments

Comments
 (0)