spec/nanoc/regressions/gh_1037a_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_1037a_spec.rb in nanoc-4.7.6
- old
+ new
@@ -15,15 +15,15 @@
end
EOS
end
it 'writes two files' do
- Nanoc::CLI.run(%w(compile))
+ Nanoc::CLI.run(%w[compile])
expect(File.read('output/giraffe.txt')).to eql('I am a giraffe!')
expect(File.read('output/giraffe.md')).to eql('I am a giraffe!')
end
it 'has the right :last snapshot' do
- Nanoc::CLI.run(%w(compile))
+ Nanoc::CLI.run(%w[compile])
expect(File.read('output/donkey.txt')).to eql('[I am a giraffe!]')
end
end