Sha256: f66cdfdf7ef962058db00f8f93eadc7389a66bb7b4625bc267dd81b293404d99
Contents?: true
Size: 387 Bytes
Versions: 3
Compression:
Stored size: 387 Bytes
Contents
shared_examples_for 'language' do its(:linters){is_expected.to_not be_empty} describe '#linters' do it 'returns a list of linters which reference this language' do language.linters.each do |linter| expect(linter.languages).to include(language), "expected #{linter.name} to reference #{language.name} as one of it's languages" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.11 | spec/support/examples/language.rb |
lint_trap-0.0.10 | spec/support/examples/language.rb |
lint_trap-0.0.9 | spec/support/examples/language.rb |