comfy/comfortable-mexican-sofa

View on GitHub
test/lib/content/tags/textarea_test.rb

Summary

Maintainability
A
15 mins
Test Coverage
# frozen_string_literal: true

require_relative "../../../test_helper"

class ContentTagsTextAreaTest < ActiveSupport::TestCase

  setup do
    @page = comfy_cms_pages(:default)
  end

  def test_init
    tag = ComfortableMexicanSofa::Content::Tag::TextArea.new(context: @page, params: ["test"])
    assert_equal "test", tag.identifier
  end

end