Sha256: 6c9cd646cfa6f5d256dd3d2abab28b7b90cf874cbda0716613509ff1bf90d2fd
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
# encoding: utf-8 class Nanoc::CLI::Commands::CheckTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers def test_check_stale with_site do |site| FileUtils.mkdir_p('output') # Should not raise now Nanoc::CLI.run %w( check stale ) # Should raise now File.open('output/blah.html', 'w') { |io| io.write 'moo' } assert_raises Nanoc::Errors::GenericTrivial do Nanoc::CLI.run %w( check stale ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.6.1 | test/cli/commands/test_check.rb |
nanoc-3.6.0 | test/cli/commands/test_check.rb |