test/base/test_compiler.rb in nanoc-4.4.4 vs test/base/test_compiler.rb in nanoc-4.4.5
- old
+ new
@@ -9,12 +9,14 @@
reps = Nanoc::Int::ItemRepRepo.new
action_provider = Nanoc::Int::ActionProvider.named(:rule_dsl).for(site)
+ objects = site.items.to_a + site.layouts.to_a
+
params = {
compiled_content_cache: Nanoc::Int::CompiledContentCache.new(items: site.items),
- checksum_store: Nanoc::Int::ChecksumStore.new(site: site),
+ checksum_store: Nanoc::Int::ChecksumStore.new(site: site, objects: objects),
rule_memory_store: Nanoc::Int::RuleMemoryStore.new,
dependency_store: Nanoc::Int::DependencyStore.new(
site.items.to_a + site.layouts.to_a,
),
action_provider: action_provider,