Sha256: 2e0364cc1ae3f8deb2c63b90d1a4836667a1cabfc1bae34c329946520bbce4fc
Contents?: true
Size: 529 Bytes
Versions: 4
Compression:
Stored size: 529 Bytes
Contents
require 'spec_helper' describe LintTrap::Parser::Line do let(:image){LintTrap::Linter::RuboCop.new.image_version} let(:container){LintTrap::Container::Docker.new(image, fixture_path, remove_container: ENV['CI'].nil?)} let(:io){StringIO.new('violation')} subject(:parser){Class.new(described_class).new} describe '#parse' do it 'raises an error if #violation_regex not overriden' do expect{parser.parse(io, container)}.to raise_error(NotImplementedError, 'Must implement violation_regex.') end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.19 | spec/parser/line_spec.rb |
lint_trap-0.0.18 | spec/parser/line_spec.rb |
lint_trap-0.0.17 | spec/parser/line_spec.rb |
lint_trap-0.0.16 | spec/parser/line_spec.rb |