test/base/test_site.rb in nanoc-4.0.0b2 vs test/base/test_site.rb in nanoc-4.0.0b3
- old
+ new
@@ -1,7 +1,5 @@
-# encoding: utf-8
-
class Nanoc::Int::SiteTest < Nanoc::TestCase
def test_initialize_with_dir_without_config_yaml
assert_raises(Nanoc::Int::Errors::GenericTrivial) do
Nanoc::Int::Site.new('.')
end
@@ -325,10 +323,10 @@
it 'should also use the toplevel config for data sources' do
with_site do
File.open('nanoc.yaml', 'w') do |io|
io.write "data_sources:\n"
io.write " -\n"
- io.write " type: filesystem_unified\n"
+ io.write " type: filesystem\n"
io.write " aaa: one\n"
io.write " config:\n"
io.write " bbb: two\n"
end