spec/registry_store_spec.rb in yard-0.9.4 vs spec/registry_store_spec.rb in yard-0.9.5
- old
+ new
@@ -130,9 +130,10 @@
it "saves as single object db if single_object_db is nil and there are less than 3000 objects" do
Registry.single_object_db = nil
add_items(100)
saves_to_singledb
+ expect(@serializer.complete?).to eq true
end
it "saves as single object db if single_object_db is nil and there are more than 3000 objects" do
Registry.single_object_db = nil
add_items(5000)