Sha256: 232195cafabdf32995c952dcab0c29d6e422e8c4756b213984f23fd1e258e9fb
Contents?: true
Size: 356 Bytes
Versions: 7
Compression:
Stored size: 356 Bytes
Contents
# encoding:utf-8 require 'test/test_helper' class BinaryTest < Test::Unit::TestCase context "Inspecting" do setup do @data = ("THIS IS BINARY " * 50).unpack("c*") end should "not display actual data" do binary = Mongo::Binary.new(@data) assert_equal "<Mongo::Binary:#{binary.object_id}>", binary.inspect end end end
Version data entries
7 entries across 7 versions & 2 rubygems