Sha256: 597960b5ae76a0faca52baed1f078839b01f0008fdb5b4dbe8c1315826a72f01

Contents?: true

Size: 621 Bytes

Versions: 10

Compression:

Stored size: 621 Bytes

Contents

# Why isn't this already required in omnibus?
require 'rake/dsl_definition'

require 'omnibus'

module Omnibus
  module RSpec

    SPEC_DATA = File.expand_path(File.join(File.dirname(__FILE__), "data"))

    def software_path(name)
      File.join(SPEC_DATA, "software", "#{name}.rb")
    end

    def overrides_path(name)
      File.join(SPEC_DATA, "overrides", "#{name}.overrides")
    end
    
  end
end

RSpec.configure do |config|
  config.include Omnibus::RSpec
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
omnibus-1.3.0 spec/spec_helper.rb
omnibus-sonian-1.2.0.1 spec/spec_helper.rb
omnibus-1.2.0 spec/spec_helper.rb
omnibus-1.1.1 spec/spec_helper.rb
omnibus-1.1.0 spec/spec_helper.rb
omnibus-1.0.4 spec/spec_helper.rb
omnibus-1.0.3 spec/spec_helper.rb
omnibus-1.0.2 spec/spec_helper.rb
omnibus-1.0.1 spec/spec_helper.rb
omnibus-1.0.0 spec/spec_helper.rb