Skip to content

Commit

Permalink
Allow loading symbols from config file
Browse files Browse the repository at this point in the history
This is completely untested, but likely to be a better fix for #164.
  • Loading branch information
binford2k authored Mar 28, 2018
1 parent 9a3b0c9 commit 3a682aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onceover/testconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TestConfig

def initialize(file, opts = {})
begin
config = YAML.safe_load(File.read(file))
config = YAML.safe_load(File.read(file), [Symbol])
rescue Errno::ENOENT
raise "Could not find #{file}"
rescue Psych::SyntaxError
Expand Down

0 comments on commit 3a682aa

Please sign in to comment.