Sha256: 0755ebbbdbfc0113b15b6701791f880d33ab62b216e5ab3be1343b5bd2c050a3
Contents?: true
Size: 425 Bytes
Versions: 22
Compression:
Stored size: 425 Bytes
Contents
class Nanoc::CLI::Commands::CheckTest < Nanoc::TestCase 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::Int::Errors::GenericTrivial do Nanoc::CLI.run %w( check stale ) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems