spec/linter/csslint_spec.rb in lint_trap-0.0.8 vs spec/linter/csslint_spec.rb in lint_trap-0.0.9
- old
+ new
@@ -5,9 +5,13 @@
let(:options){{}}
let(:files){%w(good.css bad.css)}
subject(:linter){described_class.new}
let(:command){instance_double(LintTrap::Command)}
+ it_behaves_like 'linter'
+
+ its(:languages){is_expected.to eq([LintTrap::Language::CSS.new])}
+
describe '#lint' do
context 'when config is provided' do
let(:options){{config: '.csslintrc'}}
it 'runs the lint command with the correct arguments' do