Sha256: f431833f6d1e77785005e8fd8f8d82cbf046235751fe7250af4fb4ef8bc3033d
Contents?: true
Size: 361 Bytes
Versions: 10
Compression:
Stored size: 361 Bytes
Contents
# encoding:utf-8 require './test/bson/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 = BSON::Binary.new(@data) assert_equal "<BSON::Binary:#{binary.object_id}>", binary.inspect end end end
Version data entries
10 entries across 10 versions & 3 rubygems