1 post about

differences of "be", "eq", "eql" and "equal" in RSpec

differences of "be", "eq", "eql" and "equal"  in RSpec thumbnail

In RSpec, when you first start writing test cases to compare expected results, it might be very confusing to pick from "be", "eq", "eql" or "equal". However, once you know the underlying differences of these methods, everything will be clear afterward. Let me go through them here with some examples. Compare Statements There are 2 groups of compare...

Read More