test/helpers/test_link_to.rb in nanoc-3.3.3 vs test/helpers/test_link_to.rb in nanoc-3.3.4

- old
+ new

@@ -198,9 +198,16 @@ assert_raises RuntimeError do relative_path_to(other_item_rep) end end + def test_relative_path_to_to_windows_path + @item_rep = mock + @item_rep.stubs(:path).returns('/foo/quux/') + + assert_equal '//mydomain/tahontaenrat', relative_path_to('//mydomain/tahontaenrat') + end + def test_examples_link_to # Parse YARD.parse('../lib/nanoc/helpers/link_to.rb') # Mock