Sha256: c9002fdc5bda9374496f68731b31c8afb4a9f5d5fbd11544d3d6946c8b7a90f3
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
require_relative '../../../test_helper' class ContentTagsCheckboxTest < ActiveSupport::TestCase setup do @page = comfy_cms_pages(:default) end def test_init tag = ComfortableMexicanSofa::Content::Tag::Checkbox.new(@page, "test") assert_equal "test", tag.identifier end def test_content frag = comfy_cms_fragments(:boolean) tag = ComfortableMexicanSofa::Content::Tag::Checkbox.new(@page, frag.identifier) assert_equal frag, tag.fragment assert_equal frag.boolean, tag.content end end
Version data entries
3 entries across 3 versions & 1 rubygems