Sha256: 6bf999236aaee9b863a833da8d5cd626cbed82166bae24e1dbd81a6e3d985678
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 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 string" do specify "should convert to json" do "test".to_json.should_eql '"test"' end specify "to_json should accept any number of arguments" do "test".to_json(1, 2) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fjson-0.1.1 | spec/string_spec.rb |