Sha256: 2c7585f32bdd7d850180c4ffd5c78150ef150025041eeb0a254f8e7fdae673a7

Contents?: true

Size: 416 Bytes

Versions: 8

Compression:

Stored size: 416 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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
metamagic-3.1.6 test/link_tag_test.rb
metamagic-3.1.5 test/link_tag_test.rb
metamagic-3.1.4 test/link_tag_test.rb
metamagic-3.1.3 test/link_tag_test.rb
metamagic-3.1.2 test/link_tag_test.rb
metamagic-3.1.1 test/link_tag_test.rb
metamagic-3.1.0 test/link_tag_test.rb
metamagic-3.0.3 test/link_tag_test.rb