Sha256: 8c62e1154c76d79c2434d0db2aefe64fd7a7b034829d3f99a24d6200f71a3c0d

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 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 true object" do
  specify "should convert to json" do
    true.to_json.should_equal "true"
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fjson-0.0.1 spec/true_class_spec.rb
fjson-0.0.8 spec/true_class_spec.rb
fjson-0.0.3 spec/true_class_spec.rb
fjson-0.0.4 spec/true_class_spec.rb
fjson-0.0.5 spec/true_class_spec.rb
fjson-0.0.6 spec/true_class_spec.rb
fjson-0.0.2 spec/true_class_spec.rb
fjson-0.0.7 spec/true_class_spec.rb