rake: Add a rake task to easily run acceptance tests
Add and document 'rake acceptance' task for rspec spec/acceptance spec tests. Change-Id: Iedcda73fa67b90ed2150c4d2356699061b53eff9
This commit is contained in:
parent
73680b0d5c
commit
c0300b24e6
@ -14,3 +14,8 @@ PuppetLint::RakeTask.new :lint do |config|
|
||||
config.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
|
||||
config.disable_checks = <% @configs['default_disabled_lint_checks'] + ( @configs['extra_disabled_lint_checks'] || [] ) -%>
|
||||
end
|
||||
|
||||
desc "Run acceptance tests"
|
||||
RSpec::Core::RakeTask.new(:acceptance) do |t|
|
||||
t.pattern = 'spec/acceptance'
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user