Sha256: 1c0c7a0390c51738660b7e40d38f56f5af3882b969564b34ddaf1aabb333cbf3

Contents?: true

Size: 378 Bytes

Versions: 25

Compression:

Stored size: 378 Bytes

Contents

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

25 entries across 25 versions & 1 rubygems

Version Path
ui_bibz-2.4.0 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.15 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.14 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.13 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.12 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.11 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.10 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.9 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.8 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.7 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.6 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.5 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.4 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.3 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.2 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.1 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.3.0 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.2.2 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.2.1 test/ui/core/forms/textareas/markdown_editor_field_test.rb
ui_bibz-2.2.0 test/ui/core/forms/textareas/markdown_editor_field_test.rb