Skip to content

Commit

Permalink
Merge pull request #892 from jrafanie/ruby31_specify_permitted_classe…
Browse files Browse the repository at this point in the history
…s_in_test_for_vim_classes

Ruby 3.1: Specify vim classes as permitted in test
  • Loading branch information
agrare authored Dec 18, 2023
2 parents 06c65f0 + dcb2784 commit 4db9814
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4db9814

Please sign in to comment.