(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.
This commit is contained in:
parent
616b4521f4
commit
dbe3c8ecf6
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue