From: Jeff McCune Date: Wed, 28 Nov 2012 00:18:07 +0000 (-0800) Subject: (Maint) Add spec/functions to rake test task X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dbe3c8ecf6379963f583ea11e51e403e5ad55002;p=puppet-stdlib.git (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. --- diff --git a/Rakefile b/Rakefile index 01b2a31..cbe8f28 100644 --- a/Rakefile +++ b/Rakefile @@ -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