Skip to content

Commit

Permalink
Rename spec contexts for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalejandroaguilar committed Jan 21, 2025
1 parent 3e12417 commit 8a25cdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/anthropic/client/messages/streaming_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
end
end

context "streaming preprocessed JSON" do
context "preprocessing small JSON array" do
let(:model) { "claude-3-haiku-20240307" }
let(:messages) do
[{ role: "user", content: "Give me the height of the 3 tallest mountains. #{json_prompt}" },
Expand Down Expand Up @@ -169,7 +169,7 @@
end
end

context "streaming large preprocessed JSON" do
context "preprocessing large JSON array" do
let(:model) { "claude-3-haiku-20240307" }
let(:messages) do
[
Expand Down Expand Up @@ -227,7 +227,7 @@
end
end

context "streaming empty preprocessed JSON array" do
context "preprocessing empty JSON array" do
let(:model) { "claude-3-haiku-20240307" }
let(:messages) do
[
Expand Down Expand Up @@ -279,7 +279,7 @@
end
end

context "streaming preprocessed single small JSON object" do
context "preprocessing single small JSON object" do
let(:model) { "claude-3-haiku-20240307" }
let(:messages) do
[
Expand Down Expand Up @@ -332,7 +332,7 @@
end
end

context "streaming preprocessed single large JSON object" do
context "preprocessing single large JSON object" do
let(:model) { "claude-3-haiku-20240307" }
let(:messages) do
[
Expand Down

0 comments on commit 8a25cdc

Please sign in to comment.