Commit 9e4a687c authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Installer] Add explicit default plugin specs

parent 1a27fd6f
...@@ -698,6 +698,16 @@ module Pod ...@@ -698,6 +698,16 @@ module Pod
@installer.stubs(:installed_specs).returns(@specs) @installer.stubs(:installed_specs).returns(@specs)
end end
describe 'DEFAULT_PLUGINS' do
before do
@default_plugins = @installer.send(:plugins)
end
it 'includes cocoapods-stats' do
@default_plugins['cocoapods-stats'].should == {}
end
end
it 'runs plugins pre install hook' do it 'runs plugins pre install hook' do
context = stub context = stub
Installer::PreInstallHooksContext.expects(:generate).returns(context) Installer::PreInstallHooksContext.expects(:generate).returns(context)
......
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