Skip to content

Commit

Permalink
OperatorMatcher should use BuiltIn namespace, fixes #879
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaracek committed Dec 14, 2013
1 parent b55570a commit b0167a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/matchers/relation_match_array.rb
@@ -1,3 +1,3 @@
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
RSpec::Matchers::BuiltIn::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
end

0 comments on commit b0167a7

Please sign in to comment.