Tomasz Maczukin
aed0f088f5
Add tests for shared/runners/show.html.haml view
2018-10-22 16:29:09 +02:00
Semyon Pupkov
87b85ef81c
Fix DynamicAttributeDefinedStatically cop
2018-09-21 12:37:57 +05:00
Kamil Trzciński
ca93faf15f
Remove the use of is_shared
of Ci::Runner
2018-06-26 15:53:09 +02:00
Kamil Trzciński
c0c5f896b7
Bring back deleted specs
2018-05-31 10:56:41 +02:00
Kamil Trzciński
782337b3f2
Fix traits of runners factories
2018-05-31 10:56:41 +02:00
Kamil Trzciński
03ff1da278
Fix some failures
2018-05-31 10:56:28 +02:00
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
Dylan Griffith
ab489d293d
Improve runner_type validations for Ci::Runner
2018-05-31 10:46:19 +02:00
Dylan Griffith
4c2cf90780
Add DB constraint ci_runners.runner_type not null
2018-05-09 09:54:19 +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
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
1024718e9f
Refactor access_level to not_protected and ref_protected
2017-09-03 23:49:10 +09:00
Shinya Maeda
3875983205
Impprove spec by godfat suggestions
2017-09-03 23:49:10 +09:00
Shinya Maeda
eda34b1a18
Add spec. Fix runner setting page. It worked.
2017-09-03 23:49:10 +09:00
Rémy Coutable
4e3516788f
Don't use FFaker in factories, use sequences instead
...
FFaker can generate data that randomly break our test suite. This
simplifies our factories and use sequences which are more predictive.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-03 18:54:48 +02:00
Kamil Trzcinski
b7f4553e3e
Backport changes introduced by https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
2017-01-20 12:25:53 +01:00
Grzegorz Bizon
8e603b62c9
Add missing specs for new methods in pipeline class
2016-12-27 13:15:14 +01:00
Valery Sizov
8b2dbe8997
Remove schema annotations completely
2016-09-16 14:37:48 +03:00
Tomasz Maczukin
5b8613b8e6
Add test with inactive error use case for 'POST /ci/api/v1/builds/register.json'
2016-09-13 17:44:20 +02:00
Robert Speicher
6df45eb463
Move all factory definitions to their own file
2016-03-04 15:26:51 -05:00
Tomasz Maczukin
acfe25edc0
Refactorize ci_runner
factory and let
definitions in runners API spec
2016-02-19 13:18:49 +01:00
Dmitriy Zaporozhets
bf8013f1a4
Fix most of project specs
2015-09-10 15:56:33 +02:00
Dmitriy Zaporozhets
76c6aeb9bc
Merge CI factories and CI spec/support with GitLab
2015-09-09 13:37:50 +02:00