aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer/gcd_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/integer/gcd_spec.rb')
-rw-r--r--spec/ruby/core/integer/gcd_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/integer/gcd_spec.rb b/spec/ruby/core/integer/gcd_spec.rb
index 8aa654a16a..82086d742a 100644
--- a/spec/ruby/core/integer/gcd_spec.rb
+++ b/spec/ruby/core/integer/gcd_spec.rb
@@ -31,15 +31,15 @@ describe "Integer#gcd" do
-100.gcd(-100).should == 100
end
- it "accepts a Bignum argument" do
+ it "accepts an Integer argument" do
bignum = 9999**99
- bignum.should be_kind_of(Bignum)
+ bignum.should be_kind_of(Integer)
99.gcd(bignum).should == 99
end
- it "works if self is a Bignum" do
+ it "works if self is an Integer" do
bignum = 9999**99
- bignum.should be_kind_of(Bignum)
+ bignum.should be_kind_of(Integer)
bignum.gcd(99).should == 99
end