Sha256: e798d3e6cb3d019234983b5229ee6175c6ab2e8b05b49f5baf4af1bdd631c216
Contents?: true
Size: 489 Bytes
Versions: 4
Compression:
Stored size: 489 Bytes
Contents
require 'spec_helper' describe LintTrap::Parser::Base 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} subject(:parser){Class.new(described_class).new} describe '#parse' do it 'raises an error if not overriden' do expect{parser.parse(io, container)}.to raise_error(NotImplementedError, 'Must implement parse.') end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.19 | spec/parser/base_spec.rb |
lint_trap-0.0.18 | spec/parser/base_spec.rb |
lint_trap-0.0.17 | spec/parser/base_spec.rb |
lint_trap-0.0.16 | spec/parser/base_spec.rb |