Sha256: a0599af21c26390587dc1a6a8c7bc2db0572915b2e40533f7ed894ceed4e508d

Contents?: true

Size: 490 Bytes

Versions: 12

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

require 'avm/tools/rspec/helpers/runner'
require 'eac_ruby_utils/core_ext'

module Avm
  module Tools
    module Rspec
      module Setup
        extend ::ActiveSupport::Concern

        SETUPS = %w[helpers].freeze

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

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

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
avm-tools-0.162.0 lib/avm/tools/rspec/setup.rb
eac_tools-0.94.0 sub/avm-tools/lib/avm/tools/rspec/setup.rb
avm-tools-0.161.0 lib/avm/tools/rspec/setup.rb
eac_tools-0.86.5 sub/avm-tools/lib/avm/tools/rspec/setup.rb
avm-tools-0.160.2 lib/avm/tools/rspec/setup.rb
eac_tools-0.86.4 sub/avm-tools/lib/avm/tools/rspec/setup.rb
eac_tools-0.86.3 sub/avm-tools/lib/avm/tools/rspec/setup.rb
avm-tools-0.160.1 lib/avm/tools/rspec/setup.rb
eac_tools-0.86.2 sub/avm-tools/lib/avm/tools/rspec/setup.rb
eac_tools-0.86.1 sub/avm-tools/lib/avm/tools/rspec/setup.rb
avm-tools-0.160.0 lib/avm/tools/rspec/setup.rb
eac_tools-0.86.0 sub/avm-tools/lib/avm/tools/rspec/setup.rb