Pergunta

I updated my database.yml file to look like so:

test:
  adapter: postgresql
  encoding: unicode
  database: startpoint_test
  hostname: localhost
  pool: 5
  username: postgres
  password: password

development:
  adapter: postgresql
  encoding: unicode
  database: startpoint_dev
  pool: 5
  username: postgres
  password: password

And now it seems when I run my application, and sign up a new user the development database does not get a new user inserted into it ...

The tests all pass for signing up a new user

Foi útil?

Solução

Have you tried using

rake db:create:all

and then

rake db:test:prepare
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top