spec/nanoc/regressions/gh_885_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_885_spec.rb in nanoc-4.7.6
- old
+ new
@@ -16,14 +16,14 @@
end
EOS
end
example do
- Nanoc::CLI.run(%w(compile))
+ Nanoc::CLI.run(%w[compile])
before = File.read('output/index.html')
sleep(0.1)
- Nanoc::CLI.run(%w(compile))
+ Nanoc::CLI.run(%w[compile])
after = File.read('output/index.html')
expect(after).to eql(before)
expect(after).to match(/\Ahi! - \d+/)
end
end