Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Use improved TestMech::create_user_ok instead of User::find_or_create | Dave Arter | 2016-07-19 | -3/+1 |
| | | | | | This improves create_user_ok to work more like create_body_ok where extra params can be passed in and set on the model. | |||
* | Add Extra role to ease use of {extra} field. | Hakim Cassimally | 2015-03-20 | -0/+37 |
Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018. |