Checking in the generated version of treatments_controller_spec with
some minimal changes to get all tests to pass.  This is mainly a way
of starting to learn how to write controller specs.
Checking in generated version of treatments_controller_spec for reference.
On new and edit traits and yields forms, set default dateloc value to "No data".
On new and edit traits forms, set default timeloc value to "No data".
Updated calls to form_for helper with non-deprecated syntax.
Replaced deprecated has_and_belongs_to_many associations with "has_many through" style associations.
Used a more regular name in the has_many associations involving the pfts table.
Added a test for Redmine bug #1921.
Fixed Redmine bug #1921.