Skip to content

Commit 0496892

Browse files
standardrb fixes
1 parent 429d834 commit 0496892

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/weaviate/classifications.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ def create(
3232
end
3333
end
3434
end
35-
end
35+
end

spec/weaviate/classifications_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
host: "localhost:8080"
1010
)
1111
}
12-
12+
1313
let(:classifications) { client.classifications }
1414
let(:classification_fixture) { JSON.parse(File.read("spec/fixtures/classification.json")) }
1515

@@ -29,8 +29,8 @@
2929
classify_properties: ["hasColor"],
3030
based_on_properties: ["text"]
3131
)
32-
expect(response['type']).to eq('zeroshot')
33-
expect(response['status']).to eq('running')
32+
expect(response["type"]).to eq("zeroshot")
33+
expect(response["status"]).to eq("running")
3434
end
3535
end
3636

@@ -45,7 +45,7 @@
4545

4646
it "returns the classification" do
4747
response = classifications.get(id: "1")
48-
expect(response['id']).to eq("1")
48+
expect(response["id"]).to eq("1")
4949
end
5050
end
5151
end

0 commit comments

Comments
 (0)