From 1dd5427abeedff50557408c8b81bf71e5ff99bd3 Mon Sep 17 00:00:00 2001 From: Ivanov-Anton Date: Sun, 21 May 2023 03:59:34 +0300 Subject: [PATCH] Fix typo in spec file description [ci skip] fixed typo for spec description --- spec/ruby/shared/rational/truncate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/shared/rational/truncate.rb b/spec/ruby/shared/rational/truncate.rb index 682ba22c7c..df5198ca02 100644 --- a/spec/ruby/shared/rational/truncate.rb +++ b/spec/ruby/shared/rational/truncate.rb @@ -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")