spec/nanoc/regressions/gh_1134_spec.rb in nanoc-4.7.9 vs spec/nanoc/regressions/gh_1134_spec.rb in nanoc-4.7.10
- old
+ new
@@ -1,14 +1,16 @@
+# frozen_string_literal: true
+
describe 'GH-1134', site: true, stdio: true do
before do
File.write('content/foo.txt', 'asdf')
- File.write('Rules', <<EOS)
-compile '/**/*' do
- write '/first.html'
- filter :erb
- write '/last.html'
-end
+ File.write('Rules', <<~EOS)
+ compile '/**/*' do
+ write '/first.html'
+ filter :erb
+ write '/last.html'
+ end
EOS
end
it 'detects missing output file of non-default rep' do
Nanoc::CLI.run(%w[compile])