Sha256: 8e662fd0ea6620ab53cd622a650976e39d250db6c2e2640dd1ec47c1f6a725f3
Contents?: true
Size: 324 Bytes
Versions: 6
Compression:
Stored size: 324 Bytes
Contents
require 'helper' class TestSidekiq < MiniTest::Unit::TestCase describe 'json processing' do it 'loads json' do assert_equal ({"foo" => "bar"}), Sidekiq.load_json("{\"foo\":\"bar\"}") end it 'dumps json' do assert_equal "{\"foo\":\"bar\"}", Sidekiq.dump_json({ "foo" => "bar" }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems