diff options
Diffstat (limited to 'spec/ruby/shared/string')
-rw-r--r-- | spec/ruby/shared/string/times.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/string/times.rb b/spec/ruby/shared/string/times.rb index cd4edf5340..fcc9d00fd6 100644 --- a/spec/ruby/shared/string/times.rb +++ b/spec/ruby/shared/string/times.rb @@ -23,7 +23,7 @@ describe :string_times, shared: true do -> { @object.call("cool", min_long) }.should raise_error(ArgumentError) end - it "raises a RangeError when given integer is a Bignum" do + it "raises a RangeError when given integer is an Integer" do -> { @object.call("cool", 999999999999999999999) }.should raise_error(RangeError) -> { @object.call("", 999999999999999999999) }.should raise_error(RangeError) end |