In Agile Web Development with Rails, the following statement is given:
assert_equal "has already been taken", product.errors[:title].join(';
My question is: Why is the join(...) needed and what exactly does it
If it does what I assume, join an array of strings and use "; " as the
separator, then I wonder how the assert_equal statement could ever
evaluate to true as the first parameter is a static string without ";
Can you shed some light for me?