Sha256: deaf6c67d49d80db0a451694582461cbe9122ee4b1dc711bc9775e416e718f1d

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

require_relative 'runnable_context'

RSpec.configure do |config|
  config.define_derived_metadata do |metadata|
    if metadata[:described_class].present? && metadata[:described_class].is_a?(Inferno::DSL::Runnable)
      metadata[:runnable] = true
    end
  end

  config.include_context 'when testing a runnable', runnable: true
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inferno_core-0.6.2 spec/runnable_helper.rb
inferno_core-0.6.1 spec/runnable_helper.rb
inferno_core-0.6.0 spec/runnable_helper.rb
inferno_core-0.5.4 spec/runnable_helper.rb
inferno_core-0.5.3 spec/runnable_helper.rb
inferno_core-0.5.2 spec/runnable_helper.rb
inferno_core-0.5.1 spec/runnable_helper.rb