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

Version Path
kevinrutherford-reek-0.3.1.4 spec/integration/reek_source_spec.rb
kevinrutherford-reek-0.3.1.5 spec/integration/reek_source_spec.rb
kevinrutherford-reek-0.3.1.6 spec/integration/reek_source_spec.rb
kevinrutherford-reek-1.0.0 spec/integration/reek_source_spec.rb
kevinrutherford-reek-1.0.1 spec/integration/reek_source_spec.rb
kevinrutherford-reek-1.1.1 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.2.1 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.2 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.3.1 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.3.2 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.3.3 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.3.4 spec/slow/reek_source_spec.rb
kevinrutherford-reek-1.1.3 spec/slow/reek_source_spec.rb
teksymmetry-reek-1.1.3.1 spec/slow/reek_source_spec.rb
teksymmetry-reek-1.1.3.2 spec/slow/reek_source_spec.rb
reek-1.1.3 spec/slow/reek_source_spec.rb
reek-1.0.0 spec/integration/reek_source_spec.rb