ValidateInclusionOfMatcher#allow_nil should return `self`
It was doing this until this change, now some tests are breaking. C
This commit is contained in:
parent
0cbd2b533d
commit
b4d8d3566a
|
@ -322,6 +322,7 @@ EOT
|
||||||
|
|
||||||
def allow_nil
|
def allow_nil
|
||||||
@options[:allow_nil] = true
|
@options[:allow_nil] = true
|
||||||
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
def expects_to_allow_nil?
|
def expects_to_allow_nil?
|
||||||
|
|
Loading…
Reference in New Issue