require 'test_helper' class BadgeTest < ActionView::TestCase include UiBibz::Helpers::Ui::CoreHelper test 'badge' do actual = ui_badge 'state', status: :success, glyph: 'pencil' expected = " state" assert_equal expected, actual end test 'badge pill' do actual = ui_badge 'state', status: :success, type: :pill, glyph: 'pencil' expected = " state" assert_equal expected, actual end end