test/base/test_item.rb in nanoc-4.0.0b1 vs test/base/test_item.rb in nanoc-4.0.0b2
- old
+ new
@@ -6,15 +6,9 @@
assert_equal nil, item.attributes['abc']
assert_equal 'xyz', item.attributes[:abc]
end
- def test_initialize_with_unclean_identifier
- item = Nanoc::Int::Item.new('foo', {}, '/foo')
-
- assert_equal '/foo/', item.identifier.to_s
- end
-
def test_reference
item = Nanoc::Int::Item.new(
'content',
{ one: 'one in item' },
'/path/'