core: plugin tests no longer obliterate manager
This commit is contained in:
parent
cdf1d7f318
commit
d40dc919d8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue