spec/runners/gridfs.rb in mongo-2.16.4 vs spec/runners/gridfs.rb in mongo-2.17.0
- old
+ new
@@ -98,10 +98,10 @@
#
# @param [ String ] test_path The path to the file.
#
# @since 2.1.0
def initialize(test_path)
- @spec = ::Utils.load_spec_yaml_file(test_path)
+ @spec = YAML.load(File.read(test_path))
@description = File.basename(test_path)
@data = @spec['data']
end
# Get a list of Tests for each test definition.