diff options
Diffstat (limited to 'spec/ruby/core/complex/shared/divide.rb')
-rw-r--r-- | spec/ruby/core/complex/shared/divide.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/complex/shared/divide.rb b/spec/ruby/core/complex/shared/divide.rb index a60802c74c..dc1b870cff 100644 --- a/spec/ruby/core/complex/shared/divide.rb +++ b/spec/ruby/core/complex/shared/divide.rb @@ -12,7 +12,7 @@ describe :complex_divide, shared: true do end end - describe "with Fixnum" do + describe "with Integer" do it "divides both parts of the Complex number" do Complex(20, 40).send(@method, 2).should == Complex(10, 20) Complex(30, 30).send(@method, 10).should == Complex(3, 3) @@ -27,7 +27,7 @@ describe :complex_divide, shared: true do end end - describe "with Bignum" do + describe "with Integer" do it "divides both parts of the Complex number" do Complex(20, 40).send(@method, 2).should == Complex(10, 20) Complex(15, 16).send(@method, 2.0).should be_close(Complex(7.5, 8), TOLERANCE) |