Sha256: 7821885f072aa999505975e9fbcfcf819eb76b6269a7e5defd31d4dc2e352c57
Contents?: true
Size: 374 Bytes
Versions: 30
Compression:
Stored size: 374 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "/../../../../spec_helper.rb")) describe Mongoid::Extensions::Float::Conversions do describe "#set" do it "converts the string to a float" do Float.set("3.45").should == 3.45 end end describe "#get" do it "returns the float" do Float.get(3.45).should == 3.45 end end end
Version data entries
30 entries across 30 versions & 1 rubygems