test/helpers/test_capturing.rb in nanoc-4.0.0b3 vs test/helpers/test_capturing.rb in nanoc-4.0.0b4
- old
+ new
@@ -15,10 +15,9 @@
'<% end %> foot'
# Build site
site = Nanoc::Int::Site.new({})
item = Nanoc::Int::Item.new('moo', {}, '/blah/')
- item.site = site
@site = Nanoc::SiteView.new(Nanoc::Int::Site.new({}))
@item = Nanoc::ItemView.new(item)
# Evaluate content
result = ::ERB.new(content).result(binding)