spec/unit/indexes_spec.rb in mongoid-rspec-1.8.2 vs spec/unit/indexes_spec.rb in mongoid-rspec-1.9.0
- old
+ new
@@ -4,10 +4,10 @@
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
\ No newline at end of file