spec/linter/rubocop_spec.rb in lint_trap-0.0.8 vs spec/linter/rubocop_spec.rb in lint_trap-0.0.9

- old
+ new

@@ -5,9 +5,13 @@ let(:options){{}} let(:files){%w(good.rb bad.rb)} subject(:linter){described_class.new} let(:command){instance_double(LintTrap::Command)} + it_behaves_like 'linter' + + its(:languages){is_expected.to eq([LintTrap::Language::Ruby.new])} + describe '#lint' do context 'when config is provided' do let(:options){{config: '.rubocop.yml'}} it 'runs the lint command with the correct arguments' do