test/cli/commands/test_create_item.rb in nanoc3-3.2.0a4 vs test/cli/commands/test_create_item.rb in nanoc3-3.2.0b1

- old
+ new

@@ -1,12 +1,14 @@ # encoding: utf-8 -require 'test/helper' - class Nanoc3::CLI::Commands::CreateItemTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers - def test_stub + def test_run + with_site do |site| + Nanoc3::CLI.run %w( create_item /blah/ ) + assert File.file?('content/blah.html') + end end end