features: config writing should decode value from string to ruby
This commit is contained in:
parent
736a800f0e
commit
ae3a71ed0d
|
@ -98,7 +98,7 @@ Given %r{^I have a configuration file with "(.*)" set to "(.*)"$} do |key, value
|
|||
else
|
||||
{}
|
||||
end
|
||||
config[key] = value
|
||||
config[key] = YAML.load(value)
|
||||
File.write("_config.yml", YAML.dump(config))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue