Sha256: 2924732571a7b4533a4802eb813b045085b5092230e9de9ea7cae5fc93410692

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

require_relative '../../../test_helper'

class ContentTagsTextTest < ActiveSupport::TestCase

  setup do
    @page = comfy_cms_pages(:default)
  end

  def test_init
    tag = ComfortableMexicanSofa::Content::Tag::Text.new(@page, "test")
    assert_equal "test", tag.identifier
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-2.0.2 test/lib/content/tags/text_test.rb
comfortable_mexican_sofa-2.0.1 test/lib/content/tags/text_test.rb
comfortable_mexican_sofa-2.0.0 test/lib/content/tags/text_test.rb