got rspec controller test working. one json test left
Merge pull request #5 from gnitnuj/fix_rspec_api_nameerror

got rspec controller test working. one json test left