debian-mirror-gitlab/spec/models/concerns/integrations/enable_ssl_verification_spec.rb

24 lines
477 B
Ruby
Raw Normal View History

2022-02-05 19:09:49 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Integrations::EnableSslVerification do
let(:described_class) do
Class.new(Integration) do
prepend Integrations::EnableSslVerification
def fields
[
{ name: 'main_url' },
{ name: 'other_url' },
{ name: 'username' }
]
end
end
end
let(:integration) { described_class.new }
include_context Integrations::EnableSslVerification
end