summaryrefslogtreecommitdiff
path: root/spec/ruby/core/builtin_constants/builtin_constants_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/builtin_constants/builtin_constants_spec.rb')
-rw-r--r--spec/ruby/core/builtin_constants/builtin_constants_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/builtin_constants/builtin_constants_spec.rb b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb
index 21102bee9f..7c87a970d7 100644
--- a/spec/ruby/core/builtin_constants/builtin_constants_spec.rb
+++ b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb
@@ -7,8 +7,8 @@ describe "RUBY_VERSION" do
end
describe "RUBY_PATCHLEVEL" do
- it "is a Fixnum" do
- RUBY_PATCHLEVEL.should be_kind_of(Fixnum)
+ it "is an Integer" do
+ RUBY_PATCHLEVEL.should be_kind_of(Integer)
end
end
@@ -51,7 +51,7 @@ end
describe "RUBY_REVISION" do
ruby_version_is ""..."2.7" do
it "is an Integer" do
- RUBY_REVISION.should be_kind_of(Fixnum)
+ RUBY_REVISION.should be_kind_of(Integer)
end
end