1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-05 23:21:31 +00:00

Subclasses may not be loaded when running the test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-21 12:50:43 +00:00
parent 2a6692248b
commit 7ac9072270

View File

@ -45,7 +45,7 @@ class CustomFieldsControllerTest < ActionController::TestCase
get :new
assert_response :success
assert_template 'select_type'
assert_select 'input[name=type]', CustomField.subclasses.size
assert_select 'input[name=type]', CustomFieldsHelper::CUSTOM_FIELDS_TABS.size
assert_select 'input[name=type][checked=checked]', 1
end