bcardarella
Proposed API ``` ruby it { should have_valid(:name).when('Brian').not(nil, '') } ``` Double negatives won't be supported. For example, this will not work: ``` ruby it { should_not have_valid(:name).when(nil, '').not('Brian') } ```
#25 · closed · 0 comments
Proposed API ``` ruby it { should have_valid(:name).when('Brian').not(nil, '') } ``` Double negatives won't be supported. For example, this will not work: ``` ruby it { should_not have_valid(:name).when(nil, '').not('Brian') } ```