summaryrefslogtreecommitdiff
path: root/spec/models/label_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add failing test for #32728winh2017-05-251-0/+17
|
* Remove heading and trailing spaces from label's color and titleblackst0ne2017-04-121-0/+16
|
* validate length of label.titleTomáš Kukrál2017-01-091-0/+2
| | | | + add test for label.title length validation
* Abstract LabelPriority away into methods on Label modelDouglas Barbosa Alexandre2016-10-191-0/+58
|
* Add LabelPriority modelDouglas Barbosa Alexandre2016-10-191-0/+1
|
* Unfold references for group labels when moving issue to another projectDouglas Barbosa Alexandre2016-10-191-46/+0
|
* Validate if project label title does not exist at group levelDouglas Barbosa Alexandre2016-10-191-1/+1
|
* Add ProjectLabel modelDouglas Barbosa Alexandre2016-10-191-28/+24
|
* Validates uniqueness of title unless label is a templateDouglas Barbosa Alexandre2016-10-191-0/+1
|
* Destroy related lists when a label is removedDouglas Barbosa Alexandre2016-08-171-0/+2
|
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-2/+2
|
* Allow '?', or '&' for label titlesDouglas Barbosa Alexandre2016-07-051-7/+6
|
* Merge branch 'remove-annotate-gem' into 'master' Yorick Peterse2016-05-101-13/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the annotate gem and delete old annotations In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382 /cc @yorickpeterse See merge request !4099
| * Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-13/+0
| | | | | | | | | | | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
* | Sanitize milestones and label titlesissue_15394Felipe Artur2016-05-051-0/+8
|/
* Add cross project references support for label modelGrzegorz Bizon2016-03-031-1/+25
|
* Add support for keyword arguments in label reference methodGrzegorz Bizon2016-03-031-2/+2
|
* Tag model specsDouwe Maan2015-12-091-1/+1
|
* Annotate modelsDmitriy Zaporozhets2015-11-131-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Support only double quotes for multi-word label referencesRobert Speicher2015-05-261-5/+14
|
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-17/+41
| | | | | Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-15/+15
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Annotate modelsDmitriy Zaporozhets2014-08-251-0/+12
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add spec on labels validationjubianchi2014-08-201-0/+23
|
* Label and LabelLink models for implementing own GitLab labelsDmitriy Zaporozhets2014-07-291-0/+8
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>