Permalink
Browse files

Changed MatchArray to ContainExactly due to change in rspec-expecations.

  • Loading branch information...
1 parent f5d6602 commit 1a8cb3c552e2b5786500ffa25858881b2f2ab2d6 @thomasfedb thomasfedb committed Jan 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/matchers/relation_match_array.rb
@@ -1,3 +1,3 @@
if defined?(ActiveRecord::Relation)
- RSpec::Matchers::BuiltIn::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
+ RSpec::Matchers::BuiltIn::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::ContainExactly)
end

0 comments on commit 1a8cb3c

Please sign in to comment.