lib/matchers/indexes.rb in mongoid-rspec-1.8.2 vs lib/matchers/indexes.rb in mongoid-rspec-1.9.0
- old
+ new
@@ -41,10 +41,10 @@
desc = "have an index for #{@index_fields.inspect}"
desc << " with options of #{@options.inspect}" if @options
desc
end
end
-
+
def have_index_for(index_fields)
HaveIndexForMatcher.new(index_fields)
end
end
end