Sha256: 33b785635e7fd5d9c597b4be100ef8d1444da426c13f97b7578e14c8d3a7c46d

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 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 false object" do
  it "should convert to json" do
    false.to_json.should == "false"
  end

  it "to_json should accept any number of arguments" do
    false.to_json(1, 2)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fjson-0.1.2 spec/false_class_spec.rb