I cannot find a solution for this, but here is a screenshot of the error.
This is what the error looks like when going to the localhost page: 3000
Stop your server at the command prompt and run this:
bundle exec rake db:migrate
It looks like you wrote the migration, but have not yet migrated your database.
Perhaps you are in the wrong directory? I started the rails server from the wrong folder when I received this error.
Launch Console:
bundle exec rake db: migrate
prepare the transfer for the test using this command.
rake test:prepare
Now it should work.