Sha256: 6fddcb63b8fd4aacdd7773473c8117fa9c25c65eb793975409bca77d5684bfe5
Contents?: true
Size: 356 Bytes
Versions: 49
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 = BSON::Binary.new(@data) assert_equal "<BSON::Binary:#{binary.object_id}>", binary.inspect end end end
Version data entries
49 entries across 48 versions & 5 rubygems