debian-mirror-gitlab/spec/support/kubeclient.rb
2020-05-25 16:23:42 +05:30

10 lines
309 B
Ruby

# 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