O
Oliver Saunders
I'm just trying out RSpec with some really simple code. I have this
line:
@subject.num(0).fizz?.should == false
And I want it to pass if it's false OR nil. I tried using =~ but it made
no difference. Is there no way to do this in Ruby?
line:
@subject.num(0).fizz?.should == false
And I want it to pass if it's false OR nil. I tried using =~ but it made
no difference. Is there no way to do this in Ruby?