Sha256: 16a905225d5d9fa99f0f634592fc9b5ce3e1d278d8bc5804451062d7b213d9c0

Contents?: true

Size: 132 Bytes

Versions: 26

Compression:

Stored size: 132 Bytes

Contents

describe "Kernel#to_json" do
  it "returns an escaped #to_s of the receiver" do
    self.to_json.should be_kind_of(String)
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
opal-0.4.2 spec/opal/kernel/to_json_spec.rb
opal-0.4.1 spec/opal/kernel/to_json_spec.rb
opal-0.4.0 spec/opal/kernel/to_json_spec.rb
opal-0.3.44 spec/rubyspec/core/kernel/to_json_spec.rb
opal-0.3.43 spec/rubyspec/core/kernel/to_json_spec.rb
opal-0.3.42 spec/core/kernel/to_json_spec.rb
opal-0.3.41 spec/core/kernel/to_json_spec.rb
opal-0.3.40 spec/core/kernel/to_json_spec.rb
opal-0.3.39 spec/core/kernel/to_json_spec.rb
opal-0.3.38 spec/core/kernel/to_json_spec.rb
opal-0.3.37 spec/core/kernel/to_json_spec.rb
opal-0.3.36 spec/core/kernel/to_json_spec.rb
opal-0.3.35 spec/core/kernel/to_json_spec.rb
opal-0.3.34 spec/core/kernel/to_json_spec.rb
opal-0.3.33 spec/core/kernel/to_json_spec.rb
opal-0.3.32 spec/core/kernel/to_json_spec.rb
opal-0.3.31 spec/core/kernel/to_json_spec.rb
opal-0.3.30 spec/core/kernel/to_json_spec.rb
opal-0.3.29 spec/core/kernel/to_json_spec.rb
opal-0.3.28 spec/core/kernel/to_json_spec.rb