Permalink
Browse files

Fixing unit test

  • Loading branch information...
1 parent 081fe66 commit 853886206b3b0441b383f3b2c046ace98fcbf3d3 @frankmt committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/toft/node_spec.rb
View
@@ -6,7 +6,7 @@
it 'should run block with puppet runner' do
puppet_runner = mock Toft::Puppet::PuppetRunner.class
- puppet_runner.should_receive(:run).with('manifest')
+ puppet_runner.should_receive(:run).with('manifest', {})
node = Toft::Node.new("my_host", {:runner => puppet_runner})
node.run_puppet('manifest')

0 comments on commit 8538862

Please sign in to comment.