Sha256: 50c5b27ac6377675015b84a157306c7922ecc525649cccf0da33bdc4a7b22112
Contents?: true
Size: 348 Bytes
Versions: 2
Compression:
Stored size: 348 Bytes
Contents
RSpec.describe ROM::Relation, '#invert' do subject(:relation) { container.relations.users } include_context 'users and tasks' with_adapters do it 'delegates to dataset and returns a new relation' do expect(relation.dataset).to receive(:invert).and_call_original expect(relation.invert).to_not eq(relation) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rom-sql-0.9.1 | spec/unit/relation/invert_spec.rb |
rom-sql-0.9.0 | spec/unit/relation/invert_spec.rb |