Sha256: 26a9e61fa54561a1735a30dc548acf3b7934a08f05cae9409f6bf41a45456c0f

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

require 'test_helper'

class TwitterTest < ActionView::TestCase
  include Metamagic::ViewHelper

  test "twitter tag" do
    meta title: "Test Title",
         twitter: {
           card: :summary,
         }
    twitter site: "@flickr"


    assert_equal %{<title>Test Title</title>\n<meta content="summary" property="twitter:card" />\n<meta content="@flickr" property="twitter:site" />},
                 metamagic
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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