Sha256: 44eaaf3ee227211a372845cd9512eda5d8bb1d06dd39d0e78013821b3e821a2e
Contents?: true
Size: 637 Bytes
Versions: 37
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class ButtonRefreshTest < ActionView::TestCase test 'button' do actual = UiBibz::Ui::Core::Forms::Buttons::ButtonRefresh.new('state', status: :success, connect: { target: { url: '/' } }).render expected = "<span data-connect=\"{"events":"click","mode":"remote","target":{"selector":"","url":"/","data":[]}}\" class=\"btn-success ui-bibz-connect btn input-refresh-button\"><i class=\"glyph fas fa-sync-alt\"></i> state</span>" assert_equal expected, actual end end
Version data entries
37 entries across 37 versions & 1 rubygems