Sha256: 9c8756e5a45db8c99451d13dd678832534afab37ef9f2b7eaa50ad327a5f03e0
Contents?: true
Size: 440 Bytes
Versions: 15
Compression:
Stored size: 440 Bytes
Contents
# encoding: utf-8 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::Errors::GenericTrivial do Nanoc::CLI.run %w( check stale ) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems