summaryrefslogtreecommitdiff
path: root/spec/support/kubeclient.rb
blob: 56c5800c8017e0475a97308bc0a4aa2e2061e9df (plain)
1
2
3
4
5
6
7
8
9
10
# 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