mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -322,6 +322,7 @@ EOT
|
|||
|
||||
def allow_nil
|
||||
@options[:allow_nil] = true
|
||||
self
|
||||
end
|
||||
|
||||
def expects_to_allow_nil?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue