Merged r10220 from trunk to 1.4-stable (#11665)
add unit test to get default document category defined on database.
Merged r10222 from trunk to 1.4-stable (#11665)
add position to DocumentCategory in enumerations fixture.
add position to DocumentCategory in enumerations fixture (#11665)
force set default document category if it is not set on database (#11665)
add unit test to get default document category defined on database (#11665)
add functional test to create non default document category (#11665)
Merged r10216 from trunk
add missing fixtures to test/functional/documents_controller_test.rb
Merged r10213 from trunk
add missing fixtures to test/unit/document_test.rb