Sha256: 2d4e9f48d6505f50e2c9ef422a3dd0e1f68128aa71d28ff9766c579099663c50
Contents?: true
Size: 420 Bytes
Versions: 22
Compression:
Stored size: 420 Bytes
Contents
require 'helper' 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
22 entries across 22 versions & 1 rubygems