Sha256: 3b9729924d280bdba21bc435e171c89a8020747ce01ccd8b81d91045ed850169

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

describe 'hygiene' do

  it('passes rubocop') { is_expected.to pass_rubocop }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
status_cat-5.2.1 spec/hygiene_spec.rb
status_cat-5.2.0 spec/hygiene_spec.rb
status_cat-5.0.2 spec/hygiene_spec.rb