Sha256: 7201dbfb5025796db15c8dd7575ff39cdbad59cacbb9c04d705d265de87648cb
Contents?: true
Size: 359 Bytes
Versions: 7
Compression:
Stored size: 359 Bytes
Contents
require 'spec_helper' describe "Indexes" do describe Article do it { should have_index_for(published: 1) } it { should have_index_for(title: 1).with_options(unique: true, background: true) } it { should have_index_for('permalink._id' => 1) } end describe Profile do it { should have_index_for(first_name: 1, last_name: 1) } end end
Version data entries
7 entries across 7 versions & 1 rubygems