Sha256: cf0d53a00d5f13edb8516c19d31bba5c8803c03041ef6322d436dd1562044995
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 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?)} subject(:parser){Class.new(described_class).new(StringIO.new('violation'), container)} describe '#parse' do it 'raises an error if #violation_regex not overriden' do expect{parser.parse}.to raise_error(NotImplementedError, 'Must implement violation_regex.') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.15 | spec/parser/line_spec.rb |
lint_trap-0.0.14 | spec/parser/line_spec.rb |