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