Sha256: db9c5dbdf2fd0e3d7545013bb4b54849718565fe0b63df7ecca86ec2a81a159f

Contents?: true

Size: 223 Bytes

Versions: 9

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true
# rubocop:todo all

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

9 entries across 9 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/mongo/bson_spec.rb
mongo-2.20.1 spec/mongo/bson_spec.rb
mogno-2.20.0 spec/mongo/bson_spec.rb
mogno-1.0.0 spec/mongo/bson_spec.rb
mongo-2.20.0 spec/mongo/bson_spec.rb
mongo-2.19.3 spec/mongo/bson_spec.rb
mongo-2.19.2 spec/mongo/bson_spec.rb
mongo-2.19.1 spec/mongo/bson_spec.rb
mongo-2.19.0 spec/mongo/bson_spec.rb