Sha256: 8f7fbedbddef616459f5814da8f4be3182595ca90a49340ce605093089d40d3f

Contents?: true

Size: 230 Bytes

Versions: 15

Compression:

Stored size: 230 Bytes

Contents

# encoding: utf-8

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

  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

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-3.7.4 test/cli/commands/test_create_item.rb
nanoc-3.7.3 test/cli/commands/test_create_item.rb
nanoc-3.7.2 test/cli/commands/test_create_item.rb
nanoc-3.7.1 test/cli/commands/test_create_item.rb
nanoc-3.7.0 test/cli/commands/test_create_item.rb
nanoc-3.6.11 test/cli/commands/test_create_item.rb
nanoc-3.6.10 test/cli/commands/test_create_item.rb
nanoc-3.6.9 test/cli/commands/test_create_item.rb
nanoc-3.6.8 test/cli/commands/test_create_item.rb
nanoc-3.6.7 test/cli/commands/test_create_item.rb
nanoc-3.6.6 test/cli/commands/test_create_item.rb
nanoc-3.6.5 test/cli/commands/test_create_item.rb
nanoc-3.6.4 test/cli/commands/test_create_item.rb
nanoc-3.6.3 test/cli/commands/test_create_item.rb
nanoc-3.6.2 test/cli/commands/test_create_item.rb