spec/processor/persistence_spec.rb in pupa-0.0.7 vs spec/processor/persistence_spec.rb in pupa-0.0.8
- old
+ new
@@ -9,10 +9,10 @@
Pupa.session[:people].insert(_type: 'pupa/person', name: 'non-unique')
Pupa.session[:people].insert(_type: 'pupa/person', name: 'non-unique')
end
- describe '#find' do
+ describe '.find' do
it 'should return nil if no matches' do
Pupa::Processor::Persistence.find(_type: 'pupa/person', name: 'nonexistent').should == nil
end
it 'should return a document if one match' do