Sha256: e998633fe6e2675db30fc6b60b57568d9a2ea7b336602dc181bcf4a26f0539b3
Contents?: true
Size: 426 Bytes
Versions: 11
Compression:
Stored size: 426 Bytes
Contents
require 'test_helper' class UtilTest < Test::Unit::TestCase def test_missing_method hash = { "an_attr" => "My first attribute.", :some_numbers => [1, 2] } institution = Institutions::Institution.new("my_inst", "My Institution", hash) assert_nothing_raised { institution.an_attr } assert_equal("My first attribute.", institution.an_attr) assert_equal([1, 2], institution.some_numbers) end end
Version data entries
11 entries across 11 versions & 1 rubygems