Sha256: 3a755db1f82b3d8649fbf7a7d684f52d1a9a5c3df6df82a2608d2ec1804ed891

Contents?: true

Size: 269 Bytes

Versions: 17

Compression:

Stored size: 269 Bytes

Contents

# encoding: utf-8

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

  include Nanoc::TestHelpers

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

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nanoc-3.6.1 test/cli/commands/test_create_item.rb
nanoc-3.6.0 test/cli/commands/test_create_item.rb
nanoc-3.5.0 test/cli/commands/test_create_item.rb
nanoc-3.5.0b2 test/cli/commands/test_create_item.rb
nanoc-3.5.0b1 test/cli/commands/test_create_item.rb
nanoc-3.4.3 test/cli/commands/test_create_item.rb
nanoc-3.4.2 test/cli/commands/test_create_item.rb
nanoc-3.4.1 test/cli/commands/test_create_item.rb
nanoc-3.4.0 test/cli/commands/test_create_item.rb
nanoc-3.3.7 test/cli/commands/test_create_item.rb
nanoc-3.3.6 test/cli/commands/test_create_item.rb
nanoc-3.3.5 test/cli/commands/test_create_item.rb
nanoc-3.3.4 test/cli/commands/test_create_item.rb
nanoc-3.3.3 test/cli/commands/test_create_item.rb
nanoc-3.3.2 test/cli/commands/test_create_item.rb
nanoc-3.3.1 test/cli/commands/test_create_item.rb
nanoc-3.3.0 test/cli/commands/test_create_item.rb