test/extra/checking/checks/test_stale.rb in nanoc-4.0.0b2 vs test/extra/checking/checks/test_stale.rb in nanoc-4.0.0b3
- old
+ new
@@ -1,14 +1,12 @@
-# encoding: utf-8
-
class Nanoc::Extra::Checking::Checks::StaleTest < Nanoc::TestCase
def check_class
Nanoc::Extra::Checking::Checks::Stale
end
def calc_issues
site = Nanoc::Int::Site.new('.')
- check = check_class.new(site)
+ check = check_class.create(site)
check.run
check.issues
end
def test_run_ok