Sha256: c735a315ad73f113aa6e2c113a7319b60e47dea3f569d0fab6a92affa493698b

Contents?: true

Size: 373 Bytes

Versions: 12

Compression:

Stored size: 373 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

$LOAD_PATH << __dir__
@oj_dir = File.dirname(File.expand_path(__dir__))
%w(lib ext).each do |dir|
  $LOAD_PATH << 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

12 entries across 12 versions & 1 rubygems

Version Path
oj-3.16.9 test/test_generate.rb
oj-3.16.8 test/test_generate.rb
oj-3.16.7 test/test_generate.rb
oj-3.16.6 test/test_generate.rb
oj-3.16.5 test/test_generate.rb
oj-3.16.4 test/test_generate.rb
oj-3.16.3 test/test_generate.rb
oj-3.16.2 test/test_generate.rb
oj-3.16.1 test/test_generate.rb
oj-3.16.0 test/test_generate.rb
oj-3.15.1 test/test_generate.rb
oj-3.15.0 test/test_generate.rb