Sha256: fd47690cd65cd7ae5a849eb1453511f28820cbfd0dd3f814d5bde571e77803ee

Contents?: true

Size: 349 Bytes

Versions: 24

Compression:

Stored size: 349 Bytes

Contents

require 'test_helper'

module ExpressAdmin
  class AdminHelperTest < ActionView::TestCase
    test 'title content test' do
      assert_equal 'Dummy', title_content
      assert_equal 'Sample Title · Dummy', title_content('Sample Title')
      assert_equal 'Sample Title · Base Title', title_content('Sample Title', 'Base Title')
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
express_admin-1.7.16 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.16.pre1 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.15 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.14 test/helpers/express_admin/admin_helper_test.rb