Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Register the CucumberHandler during the compile phase

  • Loading branch information...
commit fac53ebe1dd5edbee8c5cd198f78aa6e8b96accc 1 parent 29d2f0e
@cgriego authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.