Sha256: f9d889f3c94698f66a6e5dbd24717276e52847d7276f93f609ad67b2e5b4baf0

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'

describe 'Reek source code:' do
  Dir['lib/**/*.rb'].each do |source|
    describe source do
      it 'should report no smells' do
        `ruby -Ilib bin/reek #{source}`.should == ''
        $?.exitstatus.should == 0
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reek-0.3.0 spec/reek_source_spec.rb
reek-0.3.1 spec/reek_source_spec.rb