spec/lib/query/allocation_spec.rb in picky-3.1.2 vs spec/lib/query/allocation_spec.rb in picky-3.1.3
- old
+ new
@@ -41,20 +41,12 @@
end
end
describe 'remove' do
it 'should delegate to the combinations' do
- @combinations.should_receive(:remove).once.with [:some_identifiers]
+ @combinations.should_receive(:remove).once.with [:some_categories]
- @allocation.remove [:some_identifiers]
- end
- end
-
- describe 'keep' do
- it 'should delegate to the combinations' do
- @combinations.should_receive(:keep).once.with [:some_identifiers]
-
- @allocation.keep [:some_identifiers]
+ @allocation.remove [:some_categories]
end
end
describe 'process!' do
context 'no ids' do
\ No newline at end of file