Sha256: 7d270425b30db355fe4f1e280a62f0a1040fecb38e8d3a956bae4ebc09d7f09c
Contents?: true
Size: 794 Bytes
Versions: 3
Compression:
Stored size: 794 Bytes
Contents
require_relative '../remi_spec' describe Extractor::None do let(:extractor) { Extractor::None.new } context '#extract' do it 'does nothing' do expect(extractor.extract).to be nil end end end describe Parser::None do let(:parser) { Parser::None.new } context '#parse' do it 'returns what it is given' do expect(parser.parse('some data')).to eq 'some data' end end end describe Encoder::None do let(:encoder) { Encoder::None.new } context '#encode' do it 'returns what it is given' do expect(encoder.encode('some data')).to eq 'some data' end end end describe Loader::None do let(:loader) { Loader::None.new } context '#loader' do it 'does nothing' do expect(loader.load('some data')).to be true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
remi-0.3.2 | spec/data_subjects/none_spec.rb |
remi-0.3.1 | spec/data_subjects/none_spec.rb |
remi-0.3.0 | spec/data_subjects/none_spec.rb |