spec/nanoc/regressions/gh_1067_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_1067_spec.rb in nanoc-4.7.6

- old
+ new

@@ -18,17 +18,17 @@ EOS end it 'recompiles when env changes' do ENV['NANOC_ENV'] = nil - Nanoc::CLI.run(%w(compile)) + Nanoc::CLI.run(%w[compile]) expect(File.read('output/foo.erb')).to eql('build=dev') ENV['NANOC_ENV'] = nil - Nanoc::CLI.run(%w(compile -e prod)) + Nanoc::CLI.run(%w[compile -e prod]) expect(File.read('output/foo.erb')).to eql('build=prod') ENV['NANOC_ENV'] = nil - Nanoc::CLI.run(%w(compile)) + Nanoc::CLI.run(%w[compile]) expect(File.read('output/foo.erb')).to eql('build=dev') end end