spec/linter/csslint_spec.rb in lint_trap-0.0.15 vs spec/linter/csslint_spec.rb in lint_trap-0.0.16
- old
+ new
@@ -2,10 +2,10 @@
describe LintTrap::Linter::CSSLint do
let(:container){LintTrap::Container::Fake.new}
let(:options){{}}
let(:files){%w(good.css bad.css)}
- subject(:linter){described_class.new}
+ subject(:linter){LintTrap::Linter.find('CSSLint')}
let(:command){instance_double(LintTrap::Command)}
it_behaves_like 'linter'
its(:languages){is_expected.to eq([LintTrap::Language::CSS.new])}