Module: Avm::Tools::Rspec::Setup
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/avm/tools/rspec/setup.rb
Constant Summary collapse
- SETUPS =
%w[helpers].freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(setup_obj) ⇒ Object
11 12 13 |
# File 'lib/avm/tools/rspec/setup.rb', line 11 def self.extended(setup_obj) SETUPS.each { |s| setup_obj.send("setup_#{s}") } end |
Instance Method Details
#setup_helpers ⇒ Object
15 16 17 |
# File 'lib/avm/tools/rspec/setup.rb', line 15 def setup_helpers rspec_config.include ::Avm::Tools::Rspec::Helpers::Runner end |