Fix typo in spec file description [ci skip]

fixed typo for spec description
This commit is contained in:
Ivanov-Anton 2023-05-21 03:59:34 +03:00 committed by GitHub
parent b3f355cfbe
commit 1dd5427abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-05-21 01:00:04 +00:00
Merged: https://github.com/ruby/ruby/pull/7832

Merged-By: nobu <nobu@ruby-lang.org>

View File

@ -55,7 +55,7 @@ describe :rational_truncate, shared: true do
end
end
describe "with an invalid valud for precision" do
describe "with an invalid value for precision" do
it "raises a TypeError" do
-> { @rational.truncate(nil) }.should raise_error(TypeError, "not an integer")
-> { @rational.truncate(1.0) }.should raise_error(TypeError, "not an integer")