gitlab-org--gitlab-foss/spec/support/kubeclient.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
309 B
Ruby
Raw Normal View History

# frozen_string_literal: true
RSpec.configure do |config|
# Feature specs call webmock_enable_with_http_connect_on_start! by
# default. This is needed to prevent Kubeclient from connecting to a
# host before the request is stubbed.
config.before(:each, :kubeclient) do
webmock_enable!
end
end