Sha256: e8215b92ef449577e5f5b3d7db7e43b9a1b9d6a068592be431445b454a364efa
Contents?: true
Size: 453 Bytes
Versions: 17
Compression:
Stored size: 453 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' describe 'Reek source code:' do Dir['lib/**/*.rb'].each do |path| it "reports no smells in #{path}" do File.new(path).should_not reek end end it 'reports no smells via the Dir matcher' do Dir['lib/**/*.rb'].should_not reek end end describe 'RakeTask' do it 'should report no duplication' do report = `rake reek`.split("\n") report.length.should == 1 end end
Version data entries
17 entries across 17 versions & 3 rubygems