Currently
I’m about 15 minutes into Week 2: Writing Unit Tests.
I’m getting this error in both the sign_in_spec and manage_todos_spec:
ActionView::Template::Error:
SQLite3::SQLException: no such column: owner_email.session: SELECT
"todos".* FROM "todos" WHERE "owner_email"."session" IN ('current_email')
I’ve run rake db:migrate db:test:prepare
several times to no avail.
I’ve checked my code against the tutorial and a few different repos from
other students and everything seems to be in order. Here’s a link to my
repo:
https://github.com/chrbradley/test-driven-rails-app1
I am on Rails 4 and using strong parameters instead of attr_accessible, but
it’s working with the todos :description attribute, so I’m not really sure
what the problem is.
Any thoughts?