Day 6 of 30 Min Project 12/20/14

  • So, said last night that here’s what I needed to do:
    • Get redis config stuff figured out
      • Apparently convict really doesn’t like empty json variables like options: {}
    • Get first test to actually fail as it should because we’re trying to login a bad user
      • Now, getting an odd error
      • And apparently I still missed some convict conversion spots :P
      • Just realized that the library that I’m using for restify oauth has obviously changed because my old methods aren’t acting exactly the way that they used to
      • OK, finally got it to fail properly :)
      • gulp mocha isn’t finishing properly. I know I handled this somewhere :P
Next steps:
  • Figure out how we’re going to manage our test data
  • We have a few controllers/endpoints we need to test
    • /token - gets a valid token for a logged in user
    • /user - gets current user that is logged in via that token