Sha256: 1ab0f2a8e1ae011c71c089e649949cf466c1eb901e9544f7360da50e2a58e0a9
Contents?: true
Size: 869 Bytes
Versions: 3
Compression:
Stored size: 869 Bytes
Contents
require 'rubygems' require 'bundler' Bundler.require :development, :default # Explicitly necessary here. # TODO Clean me up big time please? require File.join((File.dirname(File.dirname(File.expand_path(__FILE__)))), 'lib', 'reek', 'spec') require File.join((File.dirname(File.dirname(File.expand_path(__FILE__)))), 'lib', 'reek', 'source', 'tree_dresser') require File.join(File.dirname(File.expand_path(__FILE__)), 'matchers', 'smell_of_matcher') SAMPLES_DIR = 'spec/samples' unless Object.const_defined?('SAMPLES_DIR') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-1.3.1 | spec/spec_helper.rb |
reek-1.3 | spec/spec_helper.rb |
reek-1.2.13 | spec/spec_helper.rb |