Sha256: 4a6eac0caa1beedf518d4226f34617c9af998f69745af7863bb1df6d08df0c7e
Contents?: true
Size: 404 Bytes
Versions: 6
Compression:
Stored size: 404 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 be_empty end end end
Version data entries
6 entries across 6 versions & 2 rubygems