opengovernment/opengovernment-app — pull request #64 by evz (2013-08-22 18:44:18+00:00)
Title: Sharing modal worked out

Added sharing modal into the conditional tag so that it only renders after a new question is created. Added spec to check for the presence of the modal

One thing to note:

The ``questions#show`` spec ``allows new user to register and sign on to a question`` is still failing due to the fact that there are two, basically identical, forms on that page when it renders. As far as I could tell, there was no way to disambiguate the two so that the spec filled out and submitted the correct form. What's happening is that it fills out the top one (the one for an elected rep to fill out) and then submits the bottom one (the one for a user to fill out).

Not sure how you want to handle that so, as of this pull request, that spec is still failing.