spec/acfs/resource/query_methods_spec.rb in acfs-1.3.0 vs spec/acfs/resource/query_methods_spec.rb in acfs-1.3.1
- old
+ new
@@ -396,10 +396,10 @@
block = proc {}
expect(block).not_to receive(:call)
model.find_by! age: 24, &block
- expect { Acfs.run }.to raise_error
+ expect { Acfs.run }.to raise_error Acfs::ResourceNotFound
end
end
end
describe '#each_page' do