1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/library/yaml/unsafe_load_spec.rb
2021-06-02 15:54:38 +02:00

9 lines
256 B
Ruby

require_relative '../../spec_helper'
require_relative 'shared/load'
guard -> { Psych::VERSION >= "4.0.0" } do
describe "YAML.unsafe_load" do
it_behaves_like :yaml_load_safe, :unsafe_load
it_behaves_like :yaml_load_unsafe, :unsafe_load
end
end