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