spec/pgrel/hstore_spec.rb in pgrel-0.1.1 vs spec/pgrel/hstore_spec.rb in pgrel-0.1.2

- old
+ new

@@ -114,10 +114,11 @@ expect(records.first.name).to eq 'd' end context '#not' do it '#where' do - expect(Hstore.where.store(:tags).not(a: 1, g: 'c').size).to eq 1 + expect(Hstore.where.store(:tags).not(a: 2).size).to eq 4 + expect(Hstore.where.store(:tags).not(a: 1, g: 'c').size).to eq 6 end it '#any' do expect(Hstore.where.store(:tags).not.any('a', 'f').size).to eq 1 end