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:
Diffstat (limited to 'spec/models/concerns/integrations/enable_ssl_verification_spec.rb')
-rw-r--r--spec/models/concerns/integrations/enable_ssl_verification_spec.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/spec/models/concerns/integrations/enable_ssl_verification_spec.rb b/spec/models/concerns/integrations/enable_ssl_verification_spec.rb
index 418f3f4dbc6..c9a9d33631b 100644
--- a/spec/models/concerns/integrations/enable_ssl_verification_spec.rb
+++ b/spec/models/concerns/integrations/enable_ssl_verification_spec.rb
@@ -2,18 +2,14 @@
require 'spec_helper'
-RSpec.describe Integrations::EnableSslVerification do
+RSpec.describe Integrations::EnableSslVerification, feature_category: :integrations do
let(:described_class) do
Class.new(Integration) do
prepend Integrations::EnableSslVerification
- def fields
- [
- { name: 'main_url' },
- { name: 'other_url' },
- { name: 'username' }
- ]
- end
+ field :main_url
+ field :other_url
+ field :username
end
end