Skip to content

Commit 3f3ea75

Browse files
committed
Spec that ::Ruby is a Module and not a Class
1 parent 3eb5b21 commit 3f3ea75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/builtin_constants/builtin_constants_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@
8888

8989
ruby_version_is "4.0" do
9090
context "The constant" do
91+
describe "Ruby" do
92+
it "is a Module" do
93+
Ruby.should.instance_of?(Module)
94+
end
95+
end
96+
9197
describe "Ruby::VERSION" do
9298
it "is equal to RUBY_VERSION" do
9399
Ruby::VERSION.should equal(RUBY_VERSION)

0 commit comments

Comments
 (0)