Sha256: 775c234d08bba250f12abddbc6f8def27c794912954c98b6ea9e30d44bbe309d
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
shared_examples_for 'is precise' do it "stores small numbers precisely" do small = -0.00000000634943 upsert = Upsert.new connection, :pets upsert.row({:name => 'NotJerry'}, :lovability => small) Pet.first.lovability.must_equal small end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
upsert-0.3.4 | test/shared/precision.rb |
upsert-0.3.3 | test/shared/precision.rb |