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
|
else
|
||||||
{}
|
{}
|
||||||
end
|
end
|
||||||
config[key] = value
|
config[key] = YAML.load(value)
|
||||||
File.write("_config.yml", YAML.dump(config))
|
File.write("_config.yml", YAML.dump(config))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue