repair spec style

This commit is contained in:
hyuraku 2023-03-06 22:29:52 +09:00
parent 122b24e9ff
commit 4ab4dcdc82

View File

@ -19,7 +19,7 @@ describe Array do
it "converts an array to a sentence with a custom last word connector" do
expect(["one", "two", "three"].to_sentence(last_word_connector: ", and also "))
.to eq("one, two, and also three")
.to eq("one, two, and also three")
expect(["one", "two", "three"].to_sentence(last_word_connector: " ")).to eq("one, two three")
expect(["one", "two", "three"].to_sentence(last_word_connector: " and ")).to eq("one, two and three")
end