Closed johana-star closed 10 years ago
Yo! @cczona it's distinctly not much to look at, but I have user creation/authorization through Twitter down. This is the lynchpin for the rest of the app… Not much to look at but solid groundwork.
I didn't write tests for this… :-/ It's fairly boilerplate but I still would like proof that it works if/when it breaks because of future change.
The code looks right to me. I didn't go as far as creating a Twitter App to get a key/secret pair and test with that.
I got some unit tests on the model, I think it moght also be useful to test the SessionsController#create and #destroy, however this may be overkill.
That seems reasonable to me.
This should be ready to roll.
This blog post was helpful.
The OmniAuth Railscast was key to getting this done.