test/extra/checking/test_runner.rb in nanoc-4.2.1 vs test/extra/checking/test_runner.rb in nanoc-4.2.2

- old
+ new

@@ -1,11 +1,11 @@ class Nanoc::Extra::Checking::RunnerTest < Nanoc::TestCase def test_run_specific with_site do |site| File.open('output/blah', 'w') { |io| io.write('I am stale! Haha!') } runner = Nanoc::Extra::Checking::Runner.new(site) - runner.run_specific(%w( stale )) + runner.run_specific(%w(stale)) end end def test_run_specific_custom with_site do |site| @@ -13,10 +13,10 @@ io.write('check :my_foo_check do ; puts "I AM FOO!" ; end') end runner = Nanoc::Extra::Checking::Runner.new(site) ios = capturing_stdio do - runner.run_specific(%w( my_foo_check )) + runner.run_specific(%w(my_foo_check)) end assert ios[:stdout].include?('I AM FOO!') end end