Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2018-02-07 03:53:18 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2018-02-07 03:54:09 +0300
commit8cb105cf5fe0418c34cf4448304062edffe309dc (patch)
tree10e88fd26f6738ae4b03dfc733893bb1f4f965f2 /spec/factories
parent277f7fef2c7369dc9fc8f54f9ad35a2d3086ee2b (diff)
Fix order of checks in editable? method.
+ address small nitpicks
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/projects.rb2
-rw-r--r--spec/factories/services.rb4
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