Sha256: c421dcba3fbff481e8d8ec7cd6bf6554fef4a093f5d30ad7bf1beee92ede8ab1

Contents?: true

Size: 250 Bytes

Versions: 5

Compression:

Stored size: 250 Bytes

Contents

require 'test_helper'

class MountainView::ComponentHelperTest < ActionView::TestCase
  test "renders the proper component" do
    rendered = ui_component("header", title: "Pepe")

    expected = /Pepe/

    assert_match expected, rendered
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mountain_view-0.3.3 test/helpers/mountain_view/component_helper_test.rb
mountain_view-0.3.2 test/helpers/mountain_view/component_helper_test.rb
mountain_view-0.3.1 test/helpers/mountain_view/component_helper_test.rb
mountain_view-0.3.0 test/helpers/mountain_view/component_helper_test.rb
mountain_view-0.0.2 test/helpers/mountain_view/component_helper_test.rb