test/base/test_data_source.rb in nanoc-4.0.0b3 vs test/base/test_data_source.rb in nanoc-4.0.0b4

- old
+ new

@@ -32,19 +32,19 @@ def test_new_item data_source = Nanoc::DataSource.new(nil, nil, nil, nil) item = data_source.new_item('stuff', { title: 'Stuff!' }, '/asdf/') - assert_equal 'stuff', item.raw_content + assert_equal 'stuff', item.content.string assert_equal 'Stuff!', item.attributes[:title] assert_equal Nanoc::Identifier.new('/asdf/'), item.identifier end def test_new_layout data_source = Nanoc::DataSource.new(nil, nil, nil, nil) layout = data_source.new_layout('stuff', { title: 'Stuff!' }, '/asdf/') - assert_equal 'stuff', layout.raw_content + assert_equal 'stuff', layout.content.string assert_equal 'Stuff!', layout.attributes[:title] assert_equal Nanoc::Identifier.new('/asdf/'), layout.identifier end end