Commit graph

21 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
Shinya Maeda
1def948bd0 Dependencies Validator fails when depended job is manual 2017-12-14 17:28:40 +09:00
Shinya Maeda
3494cdfecb ActiveRecord::StaleObjectError: Attempted to update a stale object: Ci::Build 2017-12-12 16:17:45 +09:00
Shinya Maeda
30bc983c34 Test for both ci_disable_validates_dependencies true/false 2017-12-08 02:21:16 +09:00
Shinya Maeda
85151ff6f6 Change feature flag to ci_disable_validates_dependencies to enable it as default 2017-12-07 23:17:46 +09:00
Shinya Maeda
cd23850e00 Fix tests 2017-12-06 16:40:56 +09:00
Shinya Maeda
f5bfedc612 Fix lint 2017-12-06 15:53:59 +09:00
Shinya Maeda
c3e0731d2e Add case when artifacts have not existed on dependencies 2017-12-06 15:53:59 +09:00
Shinya Maeda
67c7e0fc5d Fail jobs if its dependency is missing 2017-12-06 15:53:59 +09:00
Kamil Trzcinski
1efb219561 Perform SQL matching of Build&Runner tags to greatly speed-up job picking 2017-12-05 16:34:41 +01:00
Shinya Maeda
53b5346d40 Fix spec on egister_job_service_spec.rb 2017-09-03 23:58:25 +09:00
Shinya Maeda
50b9aeb495 Fix spec 2017-09-03 23:49:11 +09:00
Shinya Maeda
1b481342a0 Fix spec 2017-09-03 23:49:11 +09:00
Shinya Maeda
07f7a01b4d Improve spec. Add validation for accel_level on runner. 2017-09-03 23:49:10 +09:00
Shinya Maeda
2170eec662 Fix spec 2017-09-03 23:49:10 +09:00
Shinya Maeda
1024718e9f Refactor access_level to not_protected and ref_protected 2017-09-03 23:49:10 +09:00
Shinya Maeda
bbe967abeb Add the rest of specs 2017-09-03 23:49:10 +09:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Tomasz Maczukin
2956f0a6f5
Fix spec for Ci::RegisterJobService 2017-03-06 11:56:44 +01:00
Tomasz Maczukin
3eafffcef0
Refactor JobRequest response structure 2017-03-02 17:45:45 +01:00
Renamed from spec/services/ci/register_build_service_spec.rb (Browse further)