Sha256: 4185e78545e9410f04ad17dbef7022d19911ed832b7150d6b68bf275ef2a9e2a

Contents?: true

Size: 293 Bytes

Versions: 6

Compression:

Stored size: 293 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

6 entries across 6 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-2.0.8 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.7 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.6 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.5 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.4 test/lib/content/tags/number_test.rb
comfortable_mexican_sofa-2.0.3 test/lib/content/tags/number_test.rb