Sha256: 59d7253d1f2fbe6d03fa1a770d3e2ce576abd08f022e786581cfec0be5116a4c

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

covers 'facets/kernel/constant'

test_case Kernel do

  method :constant do

    test do
      c = ::Lemon::TestCase.name
      constant(c).assert == ::Lemon::TestCase

      c = "TestCase"
      ::Lemon.constant(c).assert == ::Lemon::TestCase
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-3.1.0 test/core/kernel/test_constant.rb
facets-3.0.0 test/core/kernel/test_constant.rb
facets-2.9.3 test/core/kernel/test_constant.rb