Sha256: c5b97aca9830c74dd1e3a58082998a9f0dfc9682d47b8d228d28cea09fefac2b
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | test/cli/commands/test_check.rb |
nanoc-3.7.5 | test/cli/commands/test_check.rb |