diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-02-07 01:53:18 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-02-07 01:54:09 +0100 |
commit | 8cb105cf5fe0418c34cf4448304062edffe309dc (patch) | |
tree | 10e88fd26f6738ae4b03dfc733893bb1f4f965f2 /spec | |
parent | 277f7fef2c7369dc9fc8f54f9ad35a2d3086ee2b (diff) | |
download | gitlab-ce-8cb105cf5fe0418c34cf4448304062edffe309dc.tar.gz |
Fix order of checks in editable? method.
+ address small nitpicks
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/projects.rb | 2 | ||||
-rw-r--r-- | spec/factories/services.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 9eef923c30d..f92b307fee4 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -249,7 +249,7 @@ FactoryBot.define do project.create_prometheus_service( active: true, properties: { - api_url: 'https://prometheus.example.com', + api_url: 'https://prometheus.example.com/', manual_configuration: true } ) diff --git a/spec/factories/services.rb b/spec/factories/services.rb index faedcc38c8d..0d4fd49bf3a 100644 --- a/spec/factories/services.rb +++ b/spec/factories/services.rb @@ -30,8 +30,8 @@ FactoryBot.define do project active true properties({ - manual_configuration: true, - api_url: 'https://prometheus.example.com/' + api_url: 'https://prometheus.example.com/', + manual_configuration: true }) end |