Sha256: 2747fa6b6f71b1d81b2b67c1efb15b94c41e85e0a21339a8f22374aee6718ffe

Contents?: true

Size: 272 Bytes

Versions: 8

Compression:

Stored size: 272 Bytes

Contents

# encoding: utf-8

class Nanoc3::CLI::Commands::CreateItemTest < MiniTest::Unit::TestCase

  include Nanoc3::TestHelpers

  def test_run
    with_site do |site|
      Nanoc3::CLI.run %w( create_item /blah/ )
      assert File.file?('content/blah.html')
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nanoc3-3.2.4 test/cli/commands/test_create_item.rb
nanoc3-3.2.3 test/cli/commands/test_create_item.rb
nanoc3-3.2.2 test/cli/commands/test_create_item.rb
nanoc3-3.2.1 test/cli/commands/test_create_item.rb
nanoc3-3.2.0 test/cli/commands/test_create_item.rb
nanoc3-3.2.0b3 test/cli/commands/test_create_item.rb
nanoc3-3.2.0b2 test/cli/commands/test_create_item.rb
nanoc3-3.2.0b1 test/cli/commands/test_create_item.rb