Skip to content

Commit

Permalink
add mock for local_payload
Browse files Browse the repository at this point in the history
  • Loading branch information
mwrock authored and fnichol committed Jan 20, 2015
1 parent 68dd06f commit c958f3d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/kitchen/driver/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ class Slow < Base
let(:state) { Hash.new }

let(:busser) do
stub(:setup_cmd => "setup", :sync_cmd => "sync", :run_cmd => "run", :cleanup_cmd => "cleanup")
stub(
:setup_cmd => "setup",
:sync_cmd => "sync",
:run_cmd => "run",
:cleanup_cmd => "cleanup",
:local_payload => ["payload"]
)
end

let(:transport) do
Expand Down

0 comments on commit c958f3d

Please sign in to comment.