Sha256: 5d45d806cda2cc7674fa1cf9c38b4cd56edbddf0560edddcb4f80814da1f914f
Contents?: true
Size: 363 Bytes
Versions: 18
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true describe 'GH-867', site: true, stdio: true do before do File.write('content/foo.md', 'stuff') File.write('Rules', <<EOS) preprocess do items.delete_if { |_| true } end EOS end it 'preprocesses before running show-data' do expect { Nanoc::CLI.run(%w[show-data]) }.not_to output(/foo/).to_stdout end end
Version data entries
18 entries across 18 versions & 1 rubygems