mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 04:24:04 +02:00
Removed Module.allocate [Bug #17048]
This commit is contained in:
parent
178ee1e801
commit
fd918d1afa
Notes:
git
2021-09-17 19:05:25 +09:00
3 changed files with 2 additions and 26 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue