Integer comparison matcher in rspec
rspec, ruby
Solution
Don't have RSpec on hand right now to verify, but I think this ought to work:
x.should > y
Problem
Let's say `x` should be bigger than `y`. How do I encode this in rspec?
rspec, ruby
Don't have RSpec on hand right now to verify, but I think this ought to work:
x.should > y
Let's say `x` should be bigger than `y`. How do I encode this in rspec?