Fix typo in spec file description [ci skip]
fixed typo for spec description
This commit is contained in:
parent
b3f355cfbe
commit
1dd5427abe
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>
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user