]> git.openstreetmap.org Git - rails.git/commit
Refactor user controller tests
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 13 May 2020 16:08:22 +0000 (18:08 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 May 2020 16:08:22 +0000 (18:08 +0200)
commit3a16c465f7c3244fd40dccd5ca9d7ec0fbf4af90
tree8f7328185c381179256a9c08522233c08524024a
parent36a1f3810931e6c20f8c6835d53d2dd813b3d575
Refactor user controller tests

Because we don't have direct access to the session and cookies, some
of the tests need more setup e.g. by moving through the signup process
to get the session tokens into the right place for the confirmation
steps to work.
config/routes.rb
test/controllers/users_controller_test.rb