Sha256: 515642ae3cb04ee79643d4c6b48deedfb1cbe653d6ecc2e8151a1a98a5cb6f4c

Contents?: true

Size: 633 Bytes

Versions: 5

Compression:

Stored size: 633 Bytes

Contents

require 'rubygems'
begin
  require 'spec/expectations'
rescue LoadError
  gem 'rspec'
  require 'spec/expectations'
end

require 'spec/autorun'

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reek-1.2.12 spec/spec_helper.rb
reek-1.2.11 spec/spec_helper.rb
reek-1.2.10 spec/spec_helper.rb
reek-1.2.9 spec/spec_helper.rb
reek-1.2.8 spec/spec_helper.rb