test/helpers/test_link_to.rb in nanoc-4.0.2 vs test/helpers/test_link_to.rb in nanoc-4.1.0a1
- old
+ new
@@ -65,10 +65,10 @@
@item_rep = mock
@item_rep.stubs(:path).returns('/foo/')
# Check
assert_equal(
- '<span class="active" title="You\'re here.">Bar</span>',
+ '<span class="active">Bar</span>',
link_to_unless_current('Bar', @item_rep),
)
ensure
@item = nil
end