Sha256: 61ef59725c69cb865870e2acd60e57adf3a626b3fb528b5c0305ebd2e3bb9fa9
Contents?: true
Size: 525 Bytes
Versions: 53
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class CardGridTest < ActionView::TestCase include UiBibz::Helpers::Ui::CoreHelper test 'create card' do actual = ui_card_grid do |cg| cg.card "card 1" cg.card "card 2" end expected = "<div class=\"row card-grid\"><div class=\"col\"><div class=\"card\"><div class=\"card-body\">card 1</div></div></div><div class=\"col\"><div class=\"card\"><div class=\"card-body\">card 2</div></div></div></div>" assert_equal expected, actual end end
Version data entries
53 entries across 53 versions & 1 rubygems