Sha256: 033447dd6c019f3be5392be97b398a642f4e02eacd602aa31a34696824eebde5
Contents?: true
Size: 546 Bytes
Versions: 29
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Mongoid::Document do let(:klass) do Person end let(:person) do Person.new end describe '.client_name' do it 'returns client name' do Person.client_name.should == :default end end describe '.database_name' do it 'returns database name' do Person.database_name.should == 'mongoid_test' end end describe '.collection_name' do it 'returns collection name' do Person.collection_name.should == :people end end end
Version data entries
29 entries across 29 versions & 1 rubygems