spec/runners/connection_string.rb in mongo-2.17.0 vs spec/runners/connection_string.rb in mongo-2.17.1
- old
+ new
@@ -98,10 +98,10 @@
#
# @param [ String ] test_path The path to the file.
#
# @since 2.0.0
def initialize(test_path)
- @spec = YAML.load(File.read(test_path))
+ @spec = ::Utils.load_spec_yaml_file(test_path)
@description = File.basename(test_path)
end
def tests
@tests ||= @spec['tests'].collect do |spec|