Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19749
e93f8b46-1217-0410-a6f0-
8f06a7374b81
if params[:continue]
redirect_to new_custom_field_path({:type => @custom_field.type})
else
- redirect_to edit_custom_field_path(@custom_field)
+ redirect_to custom_fields_path({:tab => @custom_field.type})
end
else
render :action => 'new'
}
}
end
- assert_redirected_to "/custom_fields/#{field.id}/edit"
+ assert_redirected_to "/custom_fields?tab=IssueCustomField"
assert_equal "test_post_new_list", field.name
assert_equal ["0.1", "0.2"], field.possible_values
assert_equal 1, field.trackers.size