pushvendor
pushvendor copied to clipboard
Build out Tests
Using Rspec
I can help build out tests, but I can't get the ones that are already there to run. I just get
"ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "contacts" does not exist LINE 1: DELETE FROM "contacts" ^ : DELETE FROM "contacts""
Thanks for all your work mgberlin. I honestly have never written a test for Rails and have no clue what it entails. The tests that are there were generated by the scaffold command and have not been modified. "contacts" may have been a scaffold I built out and then deleted. I'll probably be looking into this more since I think tests are important. thanks.
No problem. I saw your posts on HN, and I think it's a cool project. I'll try to write out a few tests tomorrow. They're the kind of thing that it's hard to write the first few, but once you have some in front of you it's easy to add more.
Cool deal! Thanks for doing that. Your the man mgberlin! I am looking through the code now. Not 100% how it works yet but like you say, it is getting clearer through example.