Sha256: 2a2fd1600941f20ba3ea5532cb75996e0d8bf619df4f3f9006a6a6a4b692b2f2

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 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">state</div>'

    assert_equal expected, actual
  end

  test 'jumbotron' do
    actual   = ui_jumbotron 'state'
    expected = '<div class="jumbotron">state</div>'

    assert_equal expected, actual
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ui_bibz-2.5.6 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-2.5.5 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-2.5.3 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-2.5.2 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-2.5.1 test/ui/core/boxes/jumbotron_test.rb
ui_bibz-2.5.0 test/ui/core/boxes/jumbotron_test.rb