spec/nanoc/regressions/gh_981_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_981_spec.rb in nanoc-4.7.6
- old
+ new
@@ -9,13 +9,13 @@
end
EOS
end
it 'creates at first' do
- expect { Nanoc::CLI.run(%w(compile --verbose)) }.to output(%r{create.*output/foo\.html$}).to_stdout
+ expect { Nanoc::CLI.run(%w[compile --verbose]) }.to output(%r{create.*output/foo\.html$}).to_stdout
end
it 'skips the item on second try' do
- Nanoc::CLI.run(%w(compile))
- expect { Nanoc::CLI.run(%w(compile --verbose)) }.to output(%r{skip.*output/foo\.html$}).to_stdout
+ Nanoc::CLI.run(%w[compile])
+ expect { Nanoc::CLI.run(%w[compile --verbose]) }.to output(%r{skip.*output/foo\.html$}).to_stdout
end
end