How do I set up RSpec for Sinatra app: database "funky_learn_test" does
not exist
I have a custom Sinatra app here, which I'm using to learn:
https://github.com/vise890/funky_learn
I want to add RSpec tests so that I can learn proper TDD (we already went
through the code without TDD in a huge time constrained blitz and it's
horrible). How can I set up my test environment?
When I run the command 'rspec' from the app root directory I get the
following error for all my tests: PG::Error: FATAL: database
"funky_learn_test" does not exist
No comments:
Post a Comment