Sha256: 56e57e43b109c94a79f5954332919e39869401f4b086c7527270669a5ebed6a7
Contents?: true
Size: 515 Bytes
Versions: 83
Compression:
Stored size: 515 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../fixtures/constants' describe "Module#const_missing" do it "is called when an undefined constant is referenced via literal form" do ConstantSpecs::ClassA::CS_CONSTX.should == :CS_CONSTX end it "is called when an undefined constant is referenced via #const_get" do ConstantSpecs::ClassA.const_get(:CS_CONSTX).should == :CS_CONSTX end end
Version data entries
83 entries across 83 versions & 1 rubygems