Sha256: 223c5420a82cdac202a9a105f58f855a7eb4cbb2b3b7ecf95ac4171deac35c73
Contents?: true
Size: 583 Bytes
Versions: 26
Compression:
Stored size: 583 Bytes
Contents
describe KnapsackPro::BaseAllocatorBuilder do let(:adapter_class) { KnapsackPro::Adapters::BaseAdapter } let(:allocator_builder) { described_class.new(adapter_class) } describe '#allocator' do subject { allocator_builder.allocator } it do expect { subject }.to raise_error(NotImplementedError) end end describe '#test_dir' do subject { allocator_builder.test_dir } before do expect(KnapsackPro::TestFilePattern).to receive(:call).with(adapter_class).and_return('spec/**{,/*/**}/*_spec.rb') end it { should eq 'spec' } end end
Version data entries
26 entries across 26 versions & 1 rubygems