Sha256: 5e03e620eb3b1b9b211e401cdb66699616c247ebc4ddaba3b09822a34d5b9ed3

Contents?: true

Size: 375 Bytes

Versions: 37

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

$: << File.dirname(__FILE__)
$oj_dir = File.dirname(File.expand_path(File.dirname(__FILE__)))
%w(lib ext).each do |dir|
  $: << File.join($oj_dir, dir)
end

require 'minitest'
require 'minitest/autorun'
require 'oj'

class Generator < Minitest::Test

  def test_before
    json = Oj.generate({})
    assert_equal("{}", json)
  end

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
oj-3.14.3 test/test_generate.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/test/test_generate.rb
oj-3.14.2 test/test_generate.rb
oj-3.14.1 test/test_generate.rb
oj-3.14.0 test/test_generate.rb
oj-3.13.23 test/test_generate.rb
oj-3.13.22 test/test_generate.rb
oj-3.13.21 test/test_generate.rb
oj-3.13.20 test/test_generate.rb
oj-3.13.19 test/test_generate.rb
oj-3.13.18 test/test_generate.rb
oj-3.13.17 test/test_generate.rb
oj-3.13.16 test/test_generate.rb
oj-3.13.15 test/test_generate.rb
oj-3.13.14 test/test_generate.rb
oj-3.13.13 test/test_generate.rb
oj-3.13.12 test/test_generate.rb
oj-3.13.11 test/test_generate.rb
oj-3.13.10 test/test_generate.rb
oj-3.13.9 test/test_generate.rb