lib/matchers/validations/validations.rb in mongoid-minitest-0.1.1 vs lib/matchers/validations/validations.rb in mongoid-minitest-0.1.2
- old
+ new
@@ -1,10 +1,8 @@
module Mongoid
module Matchers
module Validations
- class HaveValidationMatcher
- include Mongoid::Matchers::Helpers
-
+ class HaveValidationMatcher < Matcher
def initialize(field, validation_type)
@field = field.to_s
@type = validation_type.to_s
end