Sha256: 10fc3798e5ca2628d26e5d59c3926283a8352681f0704b997f389fa54302a57b
Contents?: true
Size: 309 Bytes
Versions: 23
Compression:
Stored size: 309 Bytes
Contents
RSpec.describe ROM::Relation, '#invert' do subject(:relation) { relations[:users] } include_context 'users and tasks' with_adapters do it 'delegates to dataset and returns a new relation' do expect(relation.where(name: 'Jane').invert.to_a).to eql([{ id: 2, name: 'Joe' }]) end end end
Version data entries
23 entries across 23 versions & 1 rubygems