Sha256: 296e967370fb344f90d806a6c377e3c0bde407cb5ff38675fc2e2d9f8e90bd84

Contents?: true

Size: 559 Bytes

Versions: 4

Compression:

Stored size: 559 Bytes

Contents

require 'reek/spec'
require 'reek/source/tree_dresser'

require 'matchers/smell_of_matcher'
begin
  require 'debugger'
rescue LoadError
  # Swallow error. Not required to run tests
end

SAMPLES_DIR = 'spec/samples'

def ast(*args)
  result = Reek::Source::TreeDresser.new.dress(s(*args))
  result.line = 1
  result
end

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.filter_run :focus
  config.run_all_when_everything_filtered = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reek-1.3.8 spec/spec_helper.rb
reek-1.3.7 spec/spec_helper.rb
reek-1.3.6 spec/spec_helper.rb
reek-1.3.5 spec/spec_helper.rb