spec/runners/sdam.rb in mongo-2.16.1 vs spec/runners/sdam.rb in mongo-2.16.2
- old
+ new
@@ -75,10 +75,10 @@
#
# @param [ String ] test_path The path to the file.
#
# @since 2.0.0
def initialize(test_path)
- @test = YAML.load(File.read(test_path))
+ @test = ::Utils.load_spec_yaml_file(test_path)
@description = @test['description']
@uri_string = @test['uri']
@uri = URI.new(uri_string)
@phases = @test['phases'].map{ |phase| Phase.new(phase, uri) }
end