spec/command_spec.rb in lint_trap-0.0.18 vs spec/command_spec.rb in lint_trap-0.0.19

- old
+ new

@@ -8,10 +8,10 @@ describe '#run' do let(:container){LintTrap::Container::Docker.new('lintci/rubocop', fixture_path, remove_container: ENV['CI'].nil?)} it 'generates the expected output' do success = command.run(container) do |io| - expect(io.read).to eq(" 1\tlint\n") + expect(io.read).to include(" 1\tlint\n") end expect(success).to be_truthy end end