Sha256: 54916a18308d83a13562b37f8a7ffbd18d1f6f6f0a445704bb19792f025640c5
Contents?: true
Size: 902 Bytes
Versions: 4
Compression:
Stored size: 902 Bytes
Contents
require 'spec_helper' describe LintTrap::Container::Base do subject(:container) do Class.new(described_class).new('lintci/rubocop', '/src') end describe '#pull' do it 'raises an error if not overriden' do expect{container.pull}.to raise_error(NotImplementedError, 'Must implement pull.') end end describe '#wrap' do it 'raises an error if not overriden' do expect{container.wrap('ls')}.to raise_error(NotImplementedError, 'Must implement wrap.') end end describe '#config_path' do it 'raises an error if not overriden' do expect{container.config_path('/config')}.to raise_error(NotImplementedError, 'Must implement config_path.') end end describe '#file_path' do it 'raises an error if not overriden' do expect{container.file_path('/src')}.to raise_error(NotImplementedError, 'Must implement file_path.') end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.16 | spec/container/base_spec.rb |
lint_trap-0.0.15 | spec/container/base_spec.rb |
lint_trap-0.0.14 | spec/container/base_spec.rb |
lint_trap-0.0.13 | spec/container/base_spec.rb |