Sha256: 7c6d2d90148208c9c7ae2621a8d586b4e15fbd5955ac631ae0af57e1a077cfce

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class MarkdownEditorFieldTest < ActionView::TestCase
  test 'markdown_editor' do
    actual = UiBibz::Ui::Core::Forms::Textareas::MarkdownEditorField.new('comments').render
    expected = "<textarea name=\"comments\" id=\"comments\" data-provide=\"markdown\" data-iconlibrary=\"fa-5\">
</textarea>"

    assert_equal expected, actual
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ui_bibz-2.5.6 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.5.5 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.5.3 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.5.2 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.5.1 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.5.0 test/ui/core/forms/textareas/markdown_editor_field_test.rb