Commit graph

9 commits

Author SHA1 Message Date
Kamil Trzciński
051f385e7e Refactor validations and make runner factory by default to be instance-wide runner 2018-05-31 10:56:07 +02: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
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Yorick Peterse
6f1e00ea36
Update CI runner factories to not use invalid IDs
These IDs point to non-existing rows, causing the foreign key
constraints to fail.
2017-07-06 12:01:36 +02:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00: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
Kamil Trzcinski
e80e3f5372 Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
Dmitriy Zaporozhets
76c6aeb9bc Merge CI factories and CI spec/support with GitLab 2015-09-09 13:37:50 +02:00
Renamed from spec/ci/factories/runner_projects.rb (Browse further)