Skip to content
Browse files

fix build

  • Loading branch information...
1 parent 86a53c3 commit 982566de2ddb53ba67deb6a260ab64bcdd2128ed Francesco Rodriguez committed Oct 13, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 CHANGELOG.md
  2. +1 −1 lib/matchers/document/have_index.rb
View
3 CHANGELOG.md
@@ -1,6 +1,7 @@
-## 0.1.4 - unreleased
+## 0.1.4 - October 10, 2012
+ Bump mongoid version to 3.0.6 - *Francesco Rodriguez*.
++ Bump minitest version to >= 4.0.0 - *Francesco Rodriguez*.
## 0.1.3 - September 8, 2012
View
2 lib/matchers/document/have_index.rb
@@ -9,7 +9,7 @@ def matches?(subject)
@klass = class_of(subject)
@klass.index_options.each do |key, options|
- unless key[@field.to_sym] || key["#{@field}_id"]
+ unless key[@field.to_sym] || key[:"#{@field}_id"]
@error = "no index for #{@field.inspect}"
return false

0 comments on commit 982566d

Please sign in to comment.
Something went wrong with that request. Please try again.