Sha256: e22dbe3b4a96be55c23b9e14723879b1a42ae8aa1e3345e8c62022902f3afdf1

Contents?: true

Size: 819 Bytes

Versions: 3

Compression:

Stored size: 819 Bytes

Contents

require 'repo_manager'
require 'rspec/core'
require 'aruba/api'
require 'repo_manager/test/test_api'

RSpec.configure do |config|
  config.include Aruba::Api
  config.include RepoManager::TestApi
  config.filter_run :focus => true
  config.filter_run_excluding(:posix => true) if RepoManager::WINDOWS
  config.filter_run_excluding(:windows => true) unless RepoManager::WINDOWS
  config.run_all_when_everything_filtered = true
  config.treat_symbols_as_metadata_keys_with_true_values = true

  # RSpec automatically cleans stuff out of backtraces;
  # sometimes this is annoying when trying to debug something e.g. a gem
  config.backtrace_clean_patterns = [
    #/\/lib\d*\/ruby\//,
    #/bin\//,
    #/gems/,
    #/spec\/spec_helper\.rb/,
    /bin\/rspec/,
    /lib\/rspec\/(core|expectations|matchers|mocks)/
  ]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
repo_manager-0.7.3 spec/spec_helper.rb
repo_manager-0.7.2 spec/spec_helper.rb
repo_manager-0.7.1 spec/spec_helper.rb