mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
fixed bug in matcher using local variable for options, must not have run the specs one last time before last release. Umm marr
This commit is contained in:
parent
7d3ee4bc1b
commit
1fdfc23cb8
@ -23,7 +23,7 @@ module Spec
|
||||
|
||||
def matches?(record)
|
||||
@record = record
|
||||
@type = options[:type]
|
||||
@type = @options[:type]
|
||||
|
||||
valid = test_validity
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user