[Rails] testing chapter: agile web dev withrails
I am working my way through Agile web development with rails and I'm in
the testing chapter.
when I run the following test(or any other test)
I'm new and not sure where to start looking.
require 'test_helper'
class ProductTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
I always get
ActiveRecord::StatementInvalid: SQLite3::SQLException: table users has
no column named image_url: INSERT INTO "users" ("created_at",
"image_url", "title", "updated_at", "id", "description") VALUES
('2010-12-06 16:04:02', 'MyString', 'MyString', '2010-12-06 16:04:02',
298486374, 'MyText')
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home