Sha256: bb49d9149ae30582da8efaea877a97d689d67800e7dd8a8cbb844f9fc333f362

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

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

class ContentTagsNumberTest < ActiveSupport::TestCase

  setup do
    @page = comfy_cms_pages(:default)
  end

  def test_init
    tag = ComfortableMexicanSofa::Content::Tag::Number.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/number_test.rb
comfortable_mexican_sofa-2.0.1 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.0 test/lib/content/tags/number_test.rb