test/cli/commands/test_create_site.rb in nanoc-3.6.8 vs test/cli/commands/test_create_site.rb in nanoc-3.6.9

- old
+ new

@@ -17,6 +17,16 @@ site.load_data site.compile end end + def test_new_site_has_correct_stylesheets + Nanoc::CLI.run %w( create_site foo ) + FileUtils.cd('foo') do + Nanoc::CLI.run %w( compile ) + + assert File.file?('content/stylesheet.css') + assert_match(/\/stylesheet.css/, File.read('output/index.html')) + end + end + end