Sha256: e6241fb75473421a6de2187b99daa6e5dedd10fc89996c9bc90edc239cc3c74d
Contents?: true
Size: 366 Bytes
Versions: 8
Compression:
Stored size: 366 Bytes
Contents
require 'rubygems' require 'spec' dir = File.dirname(__FILE__) require File.expand_path("#{dir}/spec_helper") require File.expand_path("#{dir}/../lib/fjson") context "A float number" do specify "should convert to json" do (3.14).to_json.should_equal "3.14" end specify "to_json should accept any number of arguments" do (3.14).to_json(1, 2) end end
Version data entries
8 entries across 8 versions & 1 rubygems