diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-21 12:50:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-21 12:50:43 +0000 |
commit | 7ac90722707d460934cba31452c138b614cfa400 (patch) | |
tree | 10aa78e0a0c9cfe8065a58843f2aeb7a6b37b122 | |
parent | 2a6692248b8976141997c4418561bb0800baf2da (diff) | |
download | redmine-7ac90722707d460934cba31452c138b614cfa400.tar.gz redmine-7ac90722707d460934cba31452c138b614cfa400.zip |
Subclasses may not be loaded when running the test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/custom_fields_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/custom_fields_controller_test.rb b/test/functional/custom_fields_controller_test.rb index ab051a63c..0ef0acd87 100644 --- a/test/functional/custom_fields_controller_test.rb +++ b/test/functional/custom_fields_controller_test.rb @@ -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 |