test/helpers/test_capturing.rb in nanoc-4.2.1 vs test/helpers/test_capturing.rb in nanoc-4.2.2
- old
+ new
@@ -69,10 +69,10 @@
item = Nanoc::Int::Item.new('content', {}, '/')
@item = Nanoc::ItemWithRepsView.new(item, view_context_for(item))
result = ::ERB.new(content).result(binding)
- expected = %w( head before basic after foot )
+ expected = %w(head before basic after foot)
actual = result.scan(/[a-z]+/)
assert_equal expected, actual
end
def test_dependency_without_item_variable