Permalink
Browse files

Register the CucumberHandler during the compile phase

  • Loading branch information...
1 parent 29d2f0e commit fac53ebe1dd5edbee8c5cd198f78aa6e8b96accc @cgriego committed Apr 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
4 recipes/default.rb
@@ -8,13 +8,13 @@
chef_handler 'CucumberHandler' do
source handler_path
- action 'enable'
+ action :nothing
arguments :suite_path => suite_path,
:reporters_path => reporters_path,
:node_roles => node['roles'],
:all_roles => Chef::Config[:solo] ? [] : search(:role, 'name:*').map{ |role| role.name },
:reporter => node['simple_cuke']['reporter']
-end
+end.run_action(:enable)
remote_directory reporters_path do
source 'reporters'

0 comments on commit fac53eb

Please sign in to comment.