spec/nanoc/regressions/gh_1067_spec.rb in nanoc-4.7.9 vs spec/nanoc/regressions/gh_1067_spec.rb in nanoc-4.7.10
- old
+ new
@@ -1,12 +1,14 @@
+# frozen_string_literal: true
+
describe 'GH-1067', site: true, stdio: true do
before do
- File.write('nanoc.yaml', <<EOS)
-environments:
- default:
- build: dev
- prod:
- build: prod
+ File.write('nanoc.yaml', <<~EOS)
+ environments:
+ default:
+ build: dev
+ prod:
+ build: prod
EOS
File.write('content/foo.erb', 'build=<%= @config[:build] %>')
File.write('Rules', <<EOS)