summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/shared/rational/truncate.rb2
1 files changed, 1 insertions, 1 deletions
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")