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