test/data_sources/test_filesystem.rb in nanoc-4.0.0b3 vs test/data_sources/test_filesystem.rb in nanoc-4.0.0b4

- old
+ new

@@ -103,16 +103,16 @@ %w( stuff/foo.html stuff/foo.md stuff/foo.yaml ).each do |filename| FileUtils.mkdir_p(File.dirname(filename)) File.open(filename, 'w') { |io| io.write('test') } end - # Check - { './stuff/foo' => ['yaml', ['html', 'md']] } + # Check - { './stuff/foo' => ['yaml', ['html', 'md']] } res = data_source.send(:all_split_files_in, '.') assert_equal ['./stuff/foo'], res.keys assert_equal 2, res.values[0].size assert_equal 'yaml', res.values[0][0] assert_equal Array, res.values[0][1].class - assert_equal ['html', 'md'], res.values[0][1].sort + assert_equal %w(html md), res.values[0][1].sort end def test_all_split_files_in_with_multiple_content_files # Create data source data_source = Nanoc::DataSources::FilesystemUnified.new(nil, nil, nil, nil)