Sha256: 4deb27e3fd26ed6b7a16d1be2d68ed3eda660fa2b80150425b3a5db900db0607
Contents?: true
Size: 563 Bytes
Versions: 6
Compression:
Stored size: 563 Bytes
Contents
require_relative 'test_records' RSpec.describe Relaxo::Dataset do include_context "test records" it "should enumerate all documents" do records = [] database.current do |dataset| records = dataset.each(prefix).to_a end expect(records.count).to be 20 end end RSpec.describe Relaxo::Changeset do include_context "test records" it "should enumerate all documents" do records = [] database.commit(message: "Testing Enumeration") do |dataset| records = dataset.each(prefix).to_a end expect(records.count).to be 20 end end
Version data entries
6 entries across 6 versions & 1 rubygems