spec/dbee/query/field_spec.rb in dbee-1.0.3 vs spec/dbee/query/field_spec.rb in dbee-1.1.0
- old
+ new
@@ -36,7 +36,12 @@
object2 = described_class.new(config)
expect(subject).to eq(object2)
expect(subject).to eql(object2)
end
+
+ it 'returns false unless comparing same object types' do
+ expect(subject).not_to eq('a.b.c')
+ expect(subject).not_to eq(nil)
+ end
end
end