Removed Module.allocate [Bug #17048]

This commit is contained in:
Nobuyoshi Nakada 2020-07-26 13:20:19 +09:00
parent 178ee1e801
commit fd918d1afa
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2021-09-17 19:05:25 +09:00
3 changed files with 2 additions and 26 deletions

View file

@ -1,14 +0,0 @@
require_relative '../../spec_helper'
describe "Module.allocate" do
it "returns an instance of Module" do
mod = Module.allocate
mod.should be_an_instance_of(Module)
end
it "returns a fully-formed instance of Module" do
mod = Module.allocate
mod.constants.should_not == nil
mod.methods.should_not == nil
end
end