# 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 "", binary.inspect end end end