mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
removed a debug hint in matcher
This commit is contained in:
parent
d0e60ece92
commit
d847d3b95a
@ -80,7 +80,7 @@ module Spec
|
||||
record.valid?
|
||||
errors = record.errors.on(expected)
|
||||
pass = [ errors ].flatten.any? {|error| match === error }
|
||||
@last_failure = "error matching #{match.inspect} when value is #{format_value(value)} #{errors.inspect}" unless pass
|
||||
@last_failure = "error matching #{match.inspect} when value is #{format_value(value)}" unless pass
|
||||
pass
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user