Commit db30799b authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Redundant curly braces around a hash parameter.

parent 69c2eb5c
......@@ -725,7 +725,7 @@ module Pod
it 'only runs the podfile-specified hooks' do
context = stub
Installer::PostInstallHooksContext.expects(:generate).returns(context)
plugins_hash = Installer::DEFAULT_PLUGINS.merge({ 'cocoapods-keys' => { 'keyring' => 'Eidolon' } })
plugins_hash = Installer::DEFAULT_PLUGINS.merge('cocoapods-keys' => { 'keyring' => 'Eidolon' })
@installer.podfile.stubs(:plugins).returns(plugins_hash)
HooksManager.expects(:run).with(:post_install, context, plugins_hash)
@installer.send(:run_plugins_post_install_hooks)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment