Sha256: 626a199460f5f51345596449deb1031f4e9cf4d9cdbbc7c06d8c627524679f20
Contents?: true
Size: 402 Bytes
Versions: 39
Compression:
Stored size: 402 Bytes
Contents
class Nanoc::Int::LayoutTest < Nanoc::TestCase def test_initialize # Make sure attributes are cleaned layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, '/foo') assert_equal({ foo: 'bar' }, layout.attributes) end def test_attributes layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, '/foo/') assert_equal({ foo: 'bar' }, layout.attributes) end end
Version data entries
39 entries across 39 versions & 1 rubygems