Sha256: 599255f95103145459859a830a40cec31bc5c1197370d6dd75bb0a5ccc1c9c9a
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
require 'spec_helper' describe LintTrap::Container::Fake do subject(:container){described_class.new} its(:image){is_expected.to eq('no/image')} describe '#wrap' do it 'returns the command passed in' do expect(container.wrap('ls')).to eq('ls') end end describe '#config_path' do it 'returns the gems config_path' do expect(container.config_path('')).to eq(described_class::LOCAL_CONFIG_PATH.to_s) end end describe '#container_path' do it 'returns the path passed in' do expect(container.container_path('bad.file')).to eq('bad.file') end end describe '#local_path' do it 'returns the path passed in' do expect(container.local_path('bad.file')).to eq('bad.file') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.19 | spec/container/fake_spec.rb |
lint_trap-0.0.18 | spec/container/fake_spec.rb |
lint_trap-0.0.17 | spec/container/fake_spec.rb |