spec/support/examples/linter.rb in lint_trap-0.0.15 vs spec/support/examples/linter.rb in lint_trap-0.0.16
- old
+ new
@@ -2,10 +2,11 @@
its(:languages){is_expected.to_not be_empty}
describe '#languages' do
it 'returns a list of languages which reference this linter' do
linter.languages.each do |language|
- expect(language.linters).to include(linter), "expected #{language.name} to reference #{linter.name} as one of it's linters"
+ expect(language.linters).to include(linter),
+ "expected #{language.name} to reference #{linter.name} as one of it's linters"
end
end
end
end