I'm writing a spec to test a down_vote method. But in order to test this I need to have an entry in the database for an existing vote. So my spec looks something like this: method.
I'm writing a spec to test a down_vote method. But in order to test this I need to have an entry in the database for an existing vote. So my spec looks something like this: method.