Sha256: 6c14a27496554ef5da57d97c883de9dd7117772f918ab40a3f791c3281bea6ff
Contents?: true
Size: 708 Bytes
Versions: 13
Compression:
Stored size: 708 Bytes
Contents
require 'spec_helper' describe LintTrap::Container::Fake do subject(:container){described_class.new} 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
13 entries across 13 versions & 1 rubygems