Sha256: 5d3a78686518057736187ebb480fce83c3686d3e16c9fe6fe8006b99b7c11f00
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Loquor class RepresenationTest < Minitest::Test def test_is_accessible_as_a_hash representation = Representation.new({foo: "bar"}) assert_equal "bar", representation[:foo] end def test_hash_keys_are_accessible_via_methods representation = Representation.new({foo: "bar"}) assert_equal "bar", representation.foo end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.1.2 | test/representation_test.rb |