akshatpradhan/spoutlets — pull request #12 by MarkDBlackwell (2013-01-29 02:34:54+00:00)
Title: See entries on root

All tests pass.

On Tue, Jan 8, 2013 at 10:52 PM, Akshat Pradhan wrote:
> Another task
>
> Given I'm logged in
> When I add an entry
> Then I should see my entry on "/"
>
> And write up a cucumber test please. That's another commit to.

See the cukes in features/entry.

The [Job Description](https://www.odesk.com/jobs/~010ebeb1939007b629) says:
> We'll be using
> Omniauth (Facebook login only)

However, I got a Facebook error message: "Error validating application. Invalid application ID."

I haven't looked into how Facebook OmniAuth authentication works. In [Spoutlets app](https://dashboard.heroku.com/apps/spoutletsapp/settings)'s environment variables (or configuration) as it is currently running on Heroku, I didn't notice any Facebook OmniAuth credentials.

So I didn't try to make Facebook authentication work yet (maybe you have those credentials?).

Instead, in the sessions controller, I substituted OmniAuth's developer authentication method (until Facebook is working).