diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 57449392bd..99af3365b4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,7 +8,7 @@ ISSN = Hash.new { |h,k| h[k] = [] } TITLES = Hash.new { |h,k| h[k] = [] } -FILTER = YAML.load_file(File.join(File.dirname(__FILE__), 'filters.yaml')) +FILTER = YAML.safe_load(File.join(File.dirname(__FILE__), 'filters.yaml')) EXTRA_FILES = Dir[File.join(STYLE_ROOT, '**', '*')].reject do |file| basedir = file.sub(STYLE_ROOT + "/","").partition("/")[0]