Sha256: 9ab5d5f8732efbfa6e6f5d59d5e30a7eb1344e403d6d957a9007bba509162a5f

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

# encoding: utf-8

class Nanoc::Extra::Checking::CheckTest < MiniTest::Unit::TestCase

  include Nanoc::TestHelpers

  def test_output_filenames
    with_site do |site|
      check = Nanoc::Extra::Checking::Check.new(site)
      assert check.output_filenames.empty?
      File.open('output/foo.html', 'w') { |io| io.write 'hello' }
      assert_equal [ 'output/foo.html' ], check.output_filenames
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nanoc-3.6.1 test/extra/checking/test_check.rb
nanoc-3.6.0 test/extra/checking/test_check.rb
nanoc-3.5.0 test/extra/checking/test_check.rb
nanoc-3.5.0b2 test/extra/checking/test_check.rb
nanoc-3.5.0b1 test/extra/checking/test_check.rb