spec/integration/jsonlint_spec.rb in lint_trap-0.0.15 vs spec/integration/jsonlint_spec.rb in lint_trap-0.0.16
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe LintTrap::Linter::JSONLint 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('JSONLint')}
describe '#version' do
subject(:dockerfile){Dockerfile.new(linter.name)}
it 'matches the linters version' do