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