Skip to content

Commit dbe3c8e

Browse files
author
Jeff McCune
committed
(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.
1 parent 616b452 commit dbe3c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ task :default => [:test]
55

66
desc 'Run RSpec'
77
RSpec::Core::RakeTask.new(:test) do |t|
8-
t.pattern = 'spec/{unit}/**/*.rb'
8+
t.pattern = 'spec/{unit,functions}/**/*.rb'
99
t.rspec_opts = ['--color']
1010
end
1111

0 commit comments

Comments
 (0)