aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/alaveteli_dsl.rb
Commit message (Collapse)AuthorAgeLines
* Use GET for search forms, not POST.Louise Crow2015-04-10-0/+9
| | | | | | | | | | Now that we use global CSRF authenticity checks, searches were logging logged-in users out as the form is an HTML form, not a Rails-generated form with a CSRF token. So form submission raised an InvalidAuthenticityToken error and reset their session. We could generate the form in Rails, but we also want to minimise the number of non-logged in people who have a session cookie, so that varnish can cache pages extensively. So we don't want to put the CSRF token for the search form in everyone's session.
* Design and wording changes to sign-in/sign-up screenMartin Wright2015-02-05-1/+1
|
* Scope AlaveteliDsl#login fields within signup_formGareth Rees2015-01-06-8/+9
| | | | | | | | Fills in the first “Your e-mail:” field it finds, which could be the sign _up_ form if the view is overridden to swap the order of the sign in and sign up forms. Also compacts a simple conditional on to one line.
* Add integration spec.0.19.0.1hotfix/0.19.0.1Louise Crow2014-09-01-0/+9
|
* Fix problem with integration session reuse.Louise Crow2013-09-16-0/+7
| | | | | The third (and any subsequent) session created shares a session id with the second without this explicit reset.
* Allow an actual user to be passed to the login method.Louise Crow2013-09-16-1/+5
|
* Move incoming message admin to its own controller.Louise Crow2013-09-16-0/+6
| | | | | Make specs that depend on multiple controllers and models interacting integration specs.
* Refactor some common setup steps in integration tests into a DSL.Louise Crow2013-09-16-0/+51
Add a failing test for what should happen on request hiding.