Skip to content

Commit

Permalink
Adding the lifecycle hooks stub to fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Thomas <[email protected]>
  • Loading branch information
Seth Thomas authored and stissot committed Dec 11, 2018
1 parent bb7d0e6 commit 3c8aec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
let(:suite) { Kitchen::Suite.new(:name => "suitey") }
let(:verifier) { Kitchen::Verifier::Dummy.new }
let(:provisioner) { Kitchen::Provisioner::Dummy.new }
let(:lifecycle_hooks) { Kitchen::LifecycleHooks.new({}) }
let(:transport) { Kitchen::Transport::Dummy.new }
let(:state_file) { double("state_file") }
let(:state) { Hash.new }
Expand All @@ -60,6 +61,7 @@
:suite => suite,
:platform => platform,
:provisioner => provisioner,
:lifecycle_hooks => lifecycle_hooks,
:transport => transport,
:state_file => state_file
)
Expand Down

0 comments on commit 3c8aec5

Please sign in to comment.