Sha256: 20a89ea800215215e1ef6376f22ce48727a64f48c1f50cd6220a6cb66dd44871
Contents?: true
Size: 555 Bytes
Versions: 8
Compression:
Stored size: 555 Bytes
Contents
require File.expand_path('../fixtures', __FILE__) module Quickl describe "RubyTools#parent_module /" do subject{ RubyTools::parent_module(clazz) } describe "when called on unqualified class" do let(:clazz){ ::String } it{ should be_nil } end describe "when called on qualified class" do let(:clazz){ RubyTools } it{ should == Quickl } end describe "when called on long qualified class" do let(:clazz){ Quickl::Fixtures::Utils } it{ should == Quickl::Fixtures } end end end
Version data entries
8 entries across 8 versions & 1 rubygems