spec/nanoc/regressions/gh_1022_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_1022_spec.rb in nanoc-4.7.6
- old
+ new
@@ -14,10 +14,10 @@
layout '/*.erb', :erb
EOS
end
it 'recompiles all reps of a changed item' do
- Nanoc::CLI.run(%w(compile))
+ Nanoc::CLI.run(%w[compile])
expect(File.file?('output/ubuntu-16.10-server-amd64.iso.txt')).to be
expect(File.read('output/ubuntu-16.10-server-amd64.iso.txt')).to eq('Ubuntu / torrent contents')
end
end