Sha256: 69383e7cc45d78880e4f523c7437a6c0b845026b51323c535122c03492b8ddc1

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

# coverage_spec.rb
#
# Ensures every eligible file has a corresponding spec
################################################################################

describe 'coverage' do

  it 'has a spec for every file' do
    [
      'app',
      'lib',
    ].each do |dir|
      Dir.glob( File.join( ENGINE_ROOT, dir, '**', '*.{rb,erb,rake}' ) ) do |path|
        path = path.sub( /#{ENGINE_ROOT}\//, '' )
        expect( path ).to have_a_spec
      end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
status_cat-0.1.1 spec/coverage_spec.rb