test/cli/commands/test_check.rb in nanoc-3.7.4 vs test/cli/commands/test_check.rb in nanoc-3.7.5
- old
+ new
@@ -1,11 +1,10 @@
# encoding: utf-8
class Nanoc::CLI::Commands::CheckTest < Nanoc::TestCase
-
def test_check_stale
- with_site do |site|
+ with_site do |_site|
FileUtils.mkdir_p('output')
# Should not raise now
Nanoc::CLI.run %w( check stale )
@@ -14,7 +13,6 @@
assert_raises Nanoc::Errors::GenericTrivial do
Nanoc::CLI.run %w( check stale )
end
end
end
-
end