Sha256: 3cda3de1af6fcbfa103b059ef05766f0fdb3bdf1442df1339ae954f41d673e93
Contents?: true
Size: 470 Bytes
Versions: 18
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true 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