Sha256: d1e991698e98a8d22a051d2214867f2762a50ca4f90a3b331b305869671cb82d
Contents?: true
Size: 265 Bytes
Versions: 24
Compression:
Stored size: 265 Bytes
Contents
require 'helper' describe "Float.to_store" do it "should convert value to_f" do [21, 21.0, '21'].each do |value| Float.to_store(value).should == 21.0 end end it "should leave nil values nil" do Float.to_store(nil).should == nil end end
Version data entries
24 entries across 24 versions & 1 rubygems