Commit graph

9 commits

Author SHA1 Message Date
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
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Lin Jen-Shin
9f6dc8b2b5 Add tests and also pass protected vars to protected tags 2017-05-25 18:05:27 +08:00
Z.J. van de Weg
d922f54548 Remove rails dependent: :destroy statement
Enforced by the database, and no callbacks need to be called.

Combined with 7b9b2c6099 and 294a8b8a6d this resolves
gitlab-org/gitlab-ce#31799
2017-05-11 14:52:47 +02:00
Valery Sizov
8b2dbe8997 Remove schema annotations completely 2016-09-16 14:37:48 +03:00
Robert Speicher
6df45eb463 Move all factory definitions to their own file 2016-03-04 15:26:51 -05:00
Tomasz Maczukin
3b7f34281e Modify :ci_variable factory 2016-01-13 19:57:23 +01:00
Tomasz Maczukin
937567b767 Add create feature to variables API 2015-12-31 22:30:07 +01:00
Tomasz Maczukin
ea4777ff50 Add features for list and show details of variables in API 2015-12-31 16:26:54 +01:00