spec/integration/base_spec.rb in lint_trap-0.0.13 vs spec/integration/base_spec.rb in lint_trap-0.0.14
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe LintTrap::Linter::Base do
let(:image){LintTrap::Linter::RuboCop.new.image_version}
- let(:container){LintTrap::Container::Docker.new(image, fixture_path)}
+ let(:container){LintTrap::Container::Docker.new(image, fixture_path, remove_container: ENV['CI'].nil?)}
let(:options){{}}
subject(:linter) do
ErrorLinter = Class.new(described_class) do
def command_name(_container)
'ls'