diff options
Diffstat (limited to 'spec/ruby/library/yaml/load_spec.rb')
| -rw-r--r-- | spec/ruby/library/yaml/load_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/ruby/library/yaml/load_spec.rb b/spec/ruby/library/yaml/load_spec.rb new file mode 100644 index 0000000000..56700a85f9 --- /dev/null +++ b/spec/ruby/library/yaml/load_spec.rb @@ -0,0 +1,10 @@ +require_relative '../../spec_helper' +require_relative 'shared/load' + +describe "YAML.load" do + it_behaves_like :yaml_load_safe, :load + + guard -> { Psych::VERSION < "4.0.0" } do + it_behaves_like :yaml_load_unsafe, :load + end +end |
