diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-11-27 16:18:07 -0800 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-11-27 16:18:07 -0800 |
commit | dbe3c8ecf6379963f583ea11e51e403e5ad55002 (patch) | |
tree | ee2eeae9a34c7efa988eeb01bf03d508d13f5778 | |
parent | 616b4521f45edacbdaa5f979e4069f74a64d1356 (diff) |
(Maint) Add spec/functions to rake test task
Without this patch the `test` rake task does not exercise the
rspec-puppet behaviors located in spec/functions/ This is a
self-evident problem.
This patch fixes the problem by adding spec/functions to the list of
directories scanned for spec tests.
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ task :default => [:test] desc 'Run RSpec' RSpec::Core::RakeTask.new(:test) do |t| - t.pattern = 'spec/{unit}/**/*.rb' + t.pattern = 'spec/{unit,functions}/**/*.rb' t.rspec_opts = ['--color'] end |