Sha256: 7ad8573033e2e98d215e10f51453479962666669dfc2a15f845e419bc7d2df2d
Contents?: true
Size: 439 Bytes
Versions: 18
Compression:
Stored size: 439 Bytes
Contents
require 'helper' 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