Sha256: b5be7ddb8082e45e438316b3accd587fb0464a316904d93c0a7d037dc8549a41
Contents?: true
Size: 421 Bytes
Versions: 18
Compression:
Stored size: 421 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
18 entries across 18 versions & 1 rubygems