Sha256: cda274b06802e5e4f9279212e87d1059e1128e1bf6a5fcfc79f3376040361443

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 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 false object" do
  specify "should convert to json" do
    false.to_json.should_eql "false"
  end

  specify "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.1 spec/false_class_spec.rb