Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue

You need to do

bundle exec rake test:prepare 

or

bundle exec rake db:test:prepare

and then

bundle exec rake db:migrate

before running the specs

Cheers

cited from : Why am I asked to run ‘rake db:migrate RAILS_ENV=test’?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)