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:
Adam Meehan 2009-01-03 19:07:27 +11:00
parent 7d3ee4bc1b
commit 1fdfc23cb8

View File

@ -23,7 +23,7 @@ module Spec
def matches?(record)
@record = record
@type = options[:type]
@type = @options[:type]
valid = test_validity