Skip to content

Commit

Permalink
add modules param to spec_helper_acceptance.rb.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jun 22, 2023
1 parent f7c324e commit fe6ab9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ spec/spec_helper.rb:
mock_with: false
spec/spec_helper_acceptance.rb:
unmanaged: true
configure_beaker:
modules: ':metadata'
CONTRIBUTING.md:
delete: true
.yardopts:
Expand Down
4 changes: 3 additions & 1 deletion moduleroot/spec/spec_helper_acceptance.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

require 'voxpupuli/acceptance/spec_helper_acceptance'

configure_beaker
<%- unless @configs['configure_beaker'].nil? -%>
configure_beaker(modules: <%= @configs['configure_beaker']['modules'] || ':metadata' %>)

<%- end -%>
Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f }

0 comments on commit fe6ab9f

Please sign in to comment.