additionals/test/unit/dashboard_content_test.rb

21 lines
562 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require File.expand_path '../../test_helper', __FILE__
2020-07-27 10:49:23 +02:00
class DashboardContentTest < Additionals::TestCase
fixtures :projects, :users, :members, :member_roles, :roles,
:trackers, :projects_trackers,
:enabled_modules,
:enumerations,
:dashboards, :dashboard_roles
def setup
prepare_tests
end
def test_types
2022-04-11 16:12:56 +02:00
assert_includes DashboardContent.types, DashboardContentProject::TYPE_NAME
assert_includes DashboardContent.types, DashboardContentWelcome::TYPE_NAME
2020-07-27 10:49:23 +02:00
end
end