Sha256: ad6a1d0519066cee0175992e28ace40cb586bdbdc3a8718ac03ab8ea3d8a827d

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

# encoding: UTF-8
require 'test_helper'

class UiHelperTest < 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

3 entries across 3 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.beta2.2 test/ui/core/jumbotron_test.rb
ui_bibz-2.0.0.beta2.1 test/ui/core/jumbotron_test.rb
ui_bibz-2.0.0.beta2 test/ui/core/jumbotron_test.rb