Sha256: 392139bb2366cd7f47b2d96ef308af5c61fe054b586287e94ddbf5eb6df5dead

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

covers 'facets/class/to_proc'

test_case Class do

  method :to_proc do

    test do
      person = Struct.new(:name)
      people = ["joe"].map(&person)
      people[0].name.assert == "joe"
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/class/test_to_proc.rb
facets-3.1.0 test/core/class/test_to_proc.rb
facets-3.0.0 test/core/class/test_to_proc.rb
facets-2.9.3 test/core/class/test_to_proc.rb
facets-2.9.2 test/core/class/test_to_proc.rb