diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 00068351d..0add26cf6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,6 +8,12 @@ require "manageiq/providers/vmware" +RSpec.configure do |config| + config.before do + YamlPermittedClasses.app_yaml_permitted_classes |= [VimHash, VimString, VimArray] + end +end + VCR.configure do |config| config.ignore_hosts 'codeclimate.com' if ENV['CI'] config.cassette_library_dir = File.join(ManageIQ::Providers::Vmware::Engine.root, 'spec/vcr_cassettes')