From dbe3c8ecf6379963f583ea11e51e403e5ad55002 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Tue, 27 Nov 2012 16:18:07 -0800 Subject: (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. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') 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 -- cgit v1.2.3