Sha256: 47dcfc84bbdc014badc6467c0b117ec72614a9ca550eb6b841fb148a8e58b47e

Contents?: true

Size: 523 Bytes

Versions: 51

Compression:

Stored size: 523 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class JumbotronTest < ActionView::TestCase
  include UiBibz::Helpers::Ui::CoreHelper

  test 'jumbotron with full_width' do
    actual   = ui_jumbotron 'state', full_width: true
    expected = '<div class="jumbotron bg-light rounded p-4">state</div>'

    assert_equal expected, actual
  end

  test 'jumbotron' do
    actual   = ui_jumbotron 'state'
    expected = '<div class="jumbotron bg-light rounded p-4">state</div>'

    assert_equal expected, actual
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
ui_bibz-3.0.0.beta2 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.beta1 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha12 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha11 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha10 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha9 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha8 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha6 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha5 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha3 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.0.alpha2 test/ui/core/boxes/jumbotron_test.rb