spec/runners/command_monitoring.rb in mongo-2.16.1 vs spec/runners/command_monitoring.rb in mongo-2.16.2
- old
+ new
@@ -202,10 +202,10 @@
#
# @param [ String ] test_path The yaml test path.
#
# @since 2.1.0
def initialize(test_path)
- @spec = YAML.load(File.read(test_path))
+ @spec = ::Utils.load_spec_yaml_file(test_path)
@data = @spec['data']
@tests = @spec['tests']
end
# Get all the tests in the spec.