Hi, I’m trying to learn how to test my apps as I build them. I’ve been
following the tutorials at nullislove.com but I they don’t seem to be
acting as described.
I’ve tried to run the default generated unit tests and it comes up with
the following error.
test_truth(UserTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: table items has
no column
I don’t understand why it is coming up with anything about the items
table, as the test only contains the following code.
require File.dirname(FILE) + ‘/…/test_helper’
class UserTest < ActiveSupport::TestCase
Replace this with your real tests.
def test_truth
assert true
end
end
Can anyone tell me what’s going wrong?
Thx