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.
ActiveRecord::StatementInvalid: SQLite3::SQLException: table items has
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.
Can anyone tell me what’s going wrong?