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-2.0.0.b test/helpers/express_admin/admin_helper_test.rb
express_admin-2.0.0.a test/helpers/express_admin/admin_helper_test.rb
express_admin-1.8.1 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.8.0 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.32 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.31 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.30 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.29 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.28 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.27 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.26 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.25 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.24 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.23 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.22 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.21 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.20 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.19 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.18 test/helpers/express_admin/admin_helper_test.rb
express_admin-1.7.17 test/helpers/express_admin/admin_helper_test.rb