Commit graph

12 commits

Author SHA1 Message Date
Thong Kuah
94bb660460 Add frozen_string_literal to spec/factories
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:18:39 +12:00
Sean McGivern
722631a929 Merge branch 'issue_36138' into 'master'
Allow to delete group milestones

Closes #36138

See merge request gitlab-org/gitlab-ce!21057
2018-08-28 07:49:09 +00:00
Mark Chao
3b2da85073 Port Milestone trait back used in EE 2018-08-07 16:53:44 +08:00
Felipe Artur
abb50ff471 Allow to delete group milestones 2018-08-06 17:31:47 -03:00
Rémy Coutable
4af9d592c5 Replace factory_girl_rails with factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:

```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14 15:01:55 +01:00
Felipe Artur
02fed9a905 Backport specs 2017-08-31 15:18:35 -03:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Sean McGivern
15911ef327 Fix group milestone path on issuable sidebar 2017-07-31 19:06:16 +01:00
Felipe Artur
b5f596c3ff Native group milestones 2017-07-07 15:08:49 +00:00
Robert Speicher
d0315d5393 Factories with a project association use :empty_project by default 2017-01-24 20:30:56 -05:00
Dan Rowden
da7c14442c Updated milestone count helper plus tests 2016-09-07 15:27:14 -05:00
Robert Speicher
6df45eb463 Move all factory definitions to their own file 2016-03-04 15:26:51 -05:00