spec/linter/checkstyle_spec.rb in lint_trap-0.0.15 vs spec/linter/checkstyle_spec.rb in lint_trap-0.0.16

- old
+ new

@@ -3,10 +3,10 @@ describe LintTrap::Linter::CheckStyle do let(:container){LintTrap::Container::Fake.new} let(:options){{}} let(:files){%w(Good.java bad.java)} let(:command){instance_double(LintTrap::Command)} - subject(:linter){described_class.new} + subject(:linter){LintTrap::Linter.find('CheckStyle')} it_behaves_like 'linter' its(:languages){is_expected.to eq([LintTrap::Language::Java.new])} its(:version){is_expected.to eq('6.6')}