diff options
Diffstat (limited to 'spec/ruby/core/class/superclass_spec.rb')
| -rw-r--r-- | spec/ruby/core/class/superclass_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/class/superclass_spec.rb b/spec/ruby/core/class/superclass_spec.rb index deb5a45336..87d9b20490 100644 --- a/spec/ruby/core/class/superclass_spec.rb +++ b/spec/ruby/core/class/superclass_spec.rb @@ -3,12 +3,12 @@ require_relative 'fixtures/classes' describe "Class#superclass" do it "returns the superclass of self" do - BasicObject.superclass.should be_nil + BasicObject.superclass.should == nil Object.superclass.should == BasicObject Class.superclass.should == Module Class.new.superclass.should == Object Class.new(String).superclass.should == String - Class.new(Fixnum).superclass.should == Fixnum + Class.new(Integer).superclass.should == Integer end # redmine:567 |
