Sha256: c23dfaa8421e2c4789edcb66c1bc97b920f5cd9d12b25fc2a20527fc5ba10c03
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
RSpec.describe ROM::Elasticsearch::Dataset, '#body' do subject(:dataset) do ROM::Elasticsearch::Dataset.new(client, params: { index: :users, type: :user }) end include_context 'user fixtures' it 'returns a new dataset with updated body' do new_ds = dataset.body(id: 1) expect(new_ds.body).to eql(id: 1) end end
Version data entries
5 entries across 5 versions & 1 rubygems