]> git.openstreetmap.org Git - rails.git/commitdiff
Refactor the gravatar email changes to use webmock stubbing
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 30 Oct 2016 10:06:35 +0000 (11:06 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 30 Oct 2016 10:06:35 +0000 (11:06 +0100)
The main reason for doing this is to make the tests easier to read,
rather than having to look up both the gravatar fixture, and then
correlate that with the users fixture. Putting the expected response
code in the tests is much more explicit.


No differences found