File: bson_spec.rb

package info (click to toggle)
ruby-mongo 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,332 kB
  • sloc: ruby: 45,579; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 173 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
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