From 372c786aa932a29d8a23c29117137ede0bdb9d0e Mon Sep 17 00:00:00 2001 From: Oscar Wyatt <oscar.wyatt@digital.cabinet-office.gov.uk> Date: Wed, 15 Aug 2018 15:53:10 +0100 Subject: [PATCH] Appease linter --- test/integration/links_out_config_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/links_out_config_test.rb b/test/integration/links_out_config_test.rb index dfe3d68bc..c25fb86c1 100644 --- a/test/integration/links_out_config_test.rb +++ b/test/integration/links_out_config_test.rb @@ -33,7 +33,7 @@ def default_taxonomy_grouping end def taxon_config - Rails.configuration.taxonomy_navigation_links_out || YAML.load(File.read("config/taxonomy_navigation_links_out.yml"))["default"] + Rails.configuration.taxonomy_navigation_links_out || YAML.safe_load(File.read("config/taxonomy_navigation_links_out.yml"))["default"] end def expected_supergroups(rule_level)