diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-07-26 13:20:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-09-17 11:14:08 +0900 |
commit | fd918d1afa89405c194e90476373f936b3577df0 (patch) | |
tree | 07838c9b7ac04483ed314541f0581c8b8f68a5b3 /spec/ruby/core | |
parent | 178ee1e801acb33d13b3e8a630f6ca4926c68fbc (diff) | |
download | ruby-fd918d1afa89405c194e90476373f936b3577df0.tar.gz |
Removed Module.allocate [Bug #17048]
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/module/allocate_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/ruby/core/module/allocate_spec.rb b/spec/ruby/core/module/allocate_spec.rb deleted file mode 100644 index 3b2c4119c3..0000000000 --- a/spec/ruby/core/module/allocate_spec.rb +++ /dev/null @@ -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 |