core: plugin tests no longer obliterate manager

This commit is contained in:
Mitchell Hashimoto 2014-02-06 20:50:51 -08:00
parent cdf1d7f318
commit d40dc919d8
1 changed files with 2 additions and 4 deletions

View File

@ -1,10 +1,8 @@
require File.expand_path("../../../../base", __FILE__) require File.expand_path("../../../../base", __FILE__)
describe Vagrant::Plugin::V2::Plugin do describe Vagrant::Plugin::V2::Plugin do
after(:each) do before do
# We want to make sure that the registered plugins remains empty described_class.stub(manager: Vagrant::Plugin::V2::Manager.new)
# after each test.
described_class.manager.reset!
end end
it "should be able to set and get the name" do it "should be able to set and get the name" do