test/base/test_compiler.rb in nanoc-4.0.0b1 vs test/base/test_compiler.rb in nanoc-4.0.0b2
- old
+ new
@@ -304,10 +304,10 @@
site = Nanoc::Int::Site.new('.')
site.compile
# At this point, even the already compiled items in the previous pass
# should have their compiled content assigned, so this should work:
- site.items[0].reps[0].compiled_content
+ site.items['/index.*'].reps[0].compiled_content
end
end
def test_disallow_multiple_snapshots_with_the_same_name
# Create site