Sha256: e803867b486dbc0f2e9547aef2a9b0b6b6721b405d34442096d15f5eb5148139
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 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 true object" do it "should convert to json" do true.to_json.should == "true" end it "to_json should accept any number of arguments" do true.to_json(1, 2) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fjson-0.1.2 | spec/true_class_spec.rb |