Sha256: 66b49c58dbd07c3777e7919efa090b3c51f8842507d7bc295ad765213915cf95

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require 'test_helper'

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

  test "nil title" do
    title nil
    description "Test description"

    assert_equal %{<meta content="Test description" name="description" />},
                 metamagic
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metamagic-3.0.1 test/title_tag_test.rb