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-4.0.0.beta14 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta13 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta10 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta9 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta8 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta7 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta6 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta4 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-4.0.0.beta3 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.13 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.12 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.11 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.10 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.9 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.8 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.7 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.6 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.5 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.4 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-3.0.3 test/ui/core/boxes/jumbotron_test.rb