spec/runners/crud/spec.rb in mongo-2.17.0 vs spec/runners/crud/spec.rb in mongo-2.17.1

- old
+ new

@@ -10,12 +10,10 @@ # # @param [ String ] test_path The path to the file. # # @since 2.0.0 def initialize(test_path) - contents = File.read(test_path) - - @spec = YAML.load(contents) + @spec = ::Utils.load_spec_yaml_file(test_path) @description = File.basename(test_path) @data = BSON::ExtJSON.parse_obj(@spec['data']) @tests = @spec['tests'] # Introduced with Client-Side Encryption tests