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



14
15
16
# File 'lib/avm/tools/rspec/setup.rb', line 14

def self.extended(setup_obj)
  SETUPS.each { |s| setup_obj.send("setup_#{s}") }
end

Instance Method Details

#setup_helpersObject



18
19
20
# File 'lib/avm/tools/rspec/setup.rb', line 18

def setup_helpers
  rspec_config.include ::Avm::Tools::Rspec::Helpers::Runner
end