test/base/test_layout.rb in nanoc-4.0.0b1 vs test/base/test_layout.rb in nanoc-4.0.0b2

- old
+ new

@@ -1,15 +1,11 @@ # encoding: utf-8 class Nanoc::Int::LayoutTest < Nanoc::TestCase def test_initialize # Make sure attributes are cleaned - layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, '/foo/') + layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, '/foo') assert_equal({ foo: 'bar' }, layout.attributes) - - # Make sure identifier is cleaned - layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, 'foo') - assert_equal(Nanoc::Identifier.new('/foo/'), layout.identifier) end def test_lookup_with_known_attribute # Create layout layout = Nanoc::Int::Layout.new('content', { 'foo' => 'bar' }, '/foo/')