Sha256: 143d967e305a61774541e2976855304658ddc2d91dfa2f93b975c81972ace3c2

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

require 'helper'

require 'rubyfox/sfsobject/java'

class RubyfoxSFSObjectBasicTest < RubyfoxCase
  let(:sfs_object) { Rubyfox::SFSObject.new }

  test "to_json works" do
    assert_equal "{}", sfs_object.to_json
  end

  test "from_json works" do
    json = sfs_object.to_json
    object = Rubyfox::SFSObject.from_json(json)
    assert_equal json, object.to_json
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubyfox-sfsobject-0.2.1-java test/rubyfox/sfsobject/basic_test.rb
rubyfox-sfsobject-0.2.0-java test/rubyfox/sfsobject/basic_test.rb