Sha256: 194fb28cc10c42bf75b0f6d9f592604642e189c4261f396d6af1557a37896a17
Contents?: true
Size: 355 Bytes
Versions: 52
Compression:
Stored size: 355 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "Module.allocate" do it "returns an instance of Module" do mod = Module.allocate mod.should be_kind_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
Version data entries
52 entries across 52 versions & 2 rubygems