Sha256: ff457783a14e75779ff84b3d897176165d38dd711b11f160fa742609d28afddb
Contents?: true
Size: 420 Bytes
Versions: 18
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true describe 'GH-970 (show-rules)', site: true, stdio: true do before do File.write('content/foo.md', 'foo') File.write('Rules', <<~EOS) compile '/foo.*' do write '/donkey.html' end EOS end it 'shows reps' do expect { Nanoc::CLI.run(%w[show-rules --no-color]) }.to( output(/^Item \/foo\.md:\n Rep default: \/foo\.\*$/).to_stdout, ) end end
Version data entries
18 entries across 18 versions & 1 rubygems