Sha256: 117e9766becd2645b3344ee1fabbd9f76d735572b52ebbced0da2531b9f6ff87

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 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

2 entries across 2 versions & 1 rubygems

Version Path
status_cat-5.0.1 spec/hygiene_spec.rb
status_cat-5.0.0 spec/hygiene_spec.rb