Sha256: 720da13c7c4b5e6b7cfa080d32a93f734d3de56e8131cb463d74c0e26242991b
Contents?: true
Size: 620 Bytes
Versions: 9
Compression:
Stored size: 620 Bytes
Contents
require 'rubygems' require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new(:"cucumber-chef") do |t| feature_dirs = Array.new feature_dir_glob = File.join(Dir.pwd, "*cookbook*", "*", "*feature*") feature_dirs << Dir.glob(feature_dir_glob) feature_dir_glob = File.join(Dir.pwd, "*feature*") feature_dirs << Dir.glob(feature_dir_glob) opts = [ "--exclude support/cookbooks", "--exclude support/data_bags", "--exclude support/environments", "--exclude support/keys", "--exclude support/roles", feature_dirs ].flatten.compact.join(" ") t.cucumber_opts = opts end
Version data entries
9 entries across 9 versions & 1 rubygems