Commit graph

15 commits

Author SHA1 Message Date
Mayra Cabrera
e028d795c4 41054-Disallow creation of new Kubernetes integrations 2018-01-04 09:33:51 +00: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 Schilling
50aa340e37 Factories need to set required attributes 2017-10-24 12:17:41 +03:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Pawel Chojnacki
dbb3c28088 Merge remote-tracking branch 'upstream/master' into 28717-additional-metrics-review-branch
# Conflicts:
#	app/models/project_services/prometheus_service.rb
#	app/views/projects/services/_form.html.haml
2017-06-07 10:27:52 +02:00
Jarka Kadlecova
33d82ccb45 simplify test&save actions when setting a service integration 2017-06-01 07:47:15 +02:00
kushalpandya
a57e6a8b76 Add support for Prometheus Service 2017-05-31 17:10:03 +05:30
Kamil Trzcinski
911e1c2d07 Fix terminals support for Kubernetes service
It was broken, because we introduced a default namespace, which was not used by terminal methods.
2017-05-25 15:03:39 +02:00
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Tiago Botelho
972440b15d tadds migration to remove invalid services 2017-04-27 15:59:25 +01:00
Sean McGivern
9f612cc428 Fix issues mentioned but not closed for JIRA
The `ReferenceExtractor` would return an array of `ExternalIssue`
objects, and then perform `Array#-` to remove the issues
closed. `ExternalIssue`s had `==` defined, but not `hash` or `eql?`,
which are used by `Array#-`.
2017-03-06 14:18:49 +00:00
Valery Sizov
d52ef5efd0 Fixes after review 2017-02-23 15:31:03 +02:00
Robert Speicher
d0315d5393 Factories with a project association use :empty_project by default 2017-01-24 20:30:56 -05:00
Robert Speicher
7612fdbaa8 Remove unnecessary attribute definitions from Service factory 2016-03-06 16:55:17 -05:00
Robert Speicher
6df45eb463 Move all factory definitions to their own file 2016-03-04 15:26:51 -05:00