@@ -45,7 +45,7 class CustomFieldsControllerTest < ActionController::TestCase | |||
|
45 | 45 | get :new |
|
46 | 46 | assert_response :success |
|
47 | 47 | assert_template 'select_type' |
|
48 |
assert_select 'input[name=type]', CustomField |
|
|
48 | assert_select 'input[name=type]', CustomFieldsHelper::CUSTOM_FIELDS_TABS.size | |
|
49 | 49 | assert_select 'input[name=type][checked=checked]', 1 |
|
50 | 50 | end |
|
51 | 51 |
General Comments 0
You need to be logged in to leave comments.
Login now