Sha256: 5e66ad95ab8bf052ef07d4e7409f97d1cbe92f09a76d6f0e6d34de70092cf03f
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
require 'rubygems' require 'spec' dir = File.dirname(__FILE__) require File.expand_path("#{dir}/spec_helper") require File.expand_path("#{dir}/../lib/fjson") describe "A float number" do it "should convert to json" do (3.14).to_json.should == "3.14" end it "to_json should accept any number of arguments" do (3.14).to_json(1, 2) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fjson-0.1.2 | spec/float_spec.rb |