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

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe LintTrap::Linter::CheckStyle do let(:container){LintTrap::Container::Docker.new(linter.image_version, fixture_path, remove_container: ENV['CI'].nil?)} let(:options){{}} - subject(:linter){described_class.new} + subject(:linter){LintTrap::Linter.find('CheckStyle')} describe '#lint' do context 'when linting a bad file' do let(:file){fixture_path('bad.java')}