We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f884fcd commit 9554894Copy full SHA for 9554894
lib/ronin/db/cli/commands/add.rb
@@ -173,7 +173,7 @@ def run(name,uri=nil)
173
validate_config!
174
175
ConfigFile.edit do |yaml|
176
- yaml[name] = @config
+ yaml[name.to_sym] = @config
177
end
178
179
spec/cli/commands/add_spec.rb
@@ -121,7 +121,7 @@
121
122
subject.run(name,uri)
123
124
- expect(config_file_hash[name]).to eq(
+ expect(config_file_hash[name.to_sym]).to eq(
125
{
126
adapter: adapter,
127
database: database
@@ -145,7 +145,7 @@
145
146
subject.run(name)
147
148
149
150
151
0 commit comments