Sha256: 33209027effbdebc84e7a624406495d54ab502c9f619a9efbf9db16859ffbaa1
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' describe 'Reek source code' do it 'has no smells' do Dir['lib/**/*.rb'].should_not reek end nucleus = Dir['lib/reek/**.rb'] - Dir['lib/reek/adapters/**/*.rb'] nucleus.each do |src| it "#{src} contains no references from the nucleus out to the adapters" do IO.readlines(src).grep(/adapters/).should == [] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-1.2.1 | spec/quality/reek_source_spec.rb |