Skip to content

Commit

Permalink
Merge pull request #364 from test-kitchen/add-lc-hooks
Browse files Browse the repository at this point in the history
Adding the lifecycle hooks stub to fix tests
  • Loading branch information
tas50 authored Aug 3, 2018
2 parents ad13864 + 3457d49 commit 1b26b86
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 1b26b86

Please sign in to comment.