spec/runners/cmap.rb in mongo-2.16.4 vs spec/runners/cmap.rb in mongo-2.17.0
- old
+ new
@@ -38,10 +38,10 @@
# Instantiate the new spec.
#
# @param [ String ] test_path The path to the file.
def initialize(test_path)
- @test = ::Utils.load_spec_yaml_file(test_path)
+ @test = YAML.load(File.read(test_path))
@description = @test['description']
@pool_options = ::Utils.snakeize_hash(process_options(@test['poolOptions']))
@spec_ops = @test['operations'].map { |o| Operation.new(self, o) }
@processed_ops = []