Sha256: 778f2fcc06056dc504589389b7b649dfc714670cd0337a53f8f5b6bf29b354e6
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
require 'test_helper' class LinkTagTest < ActionView::TestCase include Metamagic::ViewHelper test "link rel" do meta rel: { author: "http://test.com/author.html", } rel publisher: "http://test.com/publisher.html" assert_equal %{<link href="http://test.com/author.html" rel="author" />\n<link href="http://test.com/publisher.html" rel="publisher" />}, metamagic end test "canonical shortcut helper" do canonical "http://test.com/page.html" assert_equal %{<link href="http://test.com/page.html" rel="canonical" />}, metamagic end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metamagic-3.0.2 | test/link_tag_test.rb |