Use shoulda-matchers instead to fix automate tests