Sha256: a2e02db34ab43ea065b3cc357a3737d704c9560d01210bba28b92527cedc4caa

Contents?: true

Size: 222 Bytes

Versions: 18

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

require 'spec_helper'

describe Symbol do

  describe '#bson_type' do

    it 'serializes to a symbol type' do
      expect(:test.bson_type).to eq(14.chr)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mongo-2.16.4 spec/mongo/bson_spec.rb
mongo-2.17.4 spec/mongo/bson_spec.rb
mongo-2.18.3 spec/mongo/bson_spec.rb
mongo-2.18.2 spec/mongo/bson_spec.rb
mongo-2.17.3 spec/mongo/bson_spec.rb
mongo-2.18.1 spec/mongo/bson_spec.rb
mongo-2.18.0 spec/mongo/bson_spec.rb
mongo-2.17.2 spec/mongo/bson_spec.rb
mongo-2.16.3 spec/mongo/bson_spec.rb
mongo-2.18.0.beta1 spec/mongo/bson_spec.rb
mongo-2.16.2 spec/mongo/bson_spec.rb
mongo-2.17.1 spec/mongo/bson_spec.rb
mongo-2.16.1 spec/mongo/bson_spec.rb
mongo-2.17.0 spec/mongo/bson_spec.rb
mongo-2.16.0 spec/mongo/bson_spec.rb
mongo-2.15.1 spec/mongo/bson_spec.rb
mongo-2.16.0.alpha1 spec/mongo/bson_spec.rb
mongo-2.15.0 spec/mongo/bson_spec.rb