]> git.openstreetmap.org Git - rails.git/commit
Convert class method tests to use User factory.
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Feb 2017 13:05:37 +0000 (13:05 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Feb 2017 13:05:43 +0000 (13:05 +0000)
commitdf6469c76b4d1f069a0831335a68e23ea1ebe0b1
treecc6b5b6d0bc6b02067eee508782a452d95802491
parent0bd2e9ea8c801e5b6cd570837fcd112f6f78b180
Convert class method tests to use User factory.

Also improve the tests by being explicit about which results should
be returned, rather than just hoping that the fixtures cover all
possibilities.
test/models/user_test.rb