]> git.openstreetmap.org Git - rails.git/commit
Use factorybot to build user objects
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 5 Jan 2022 20:29:12 +0000 (20:29 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 5 Jan 2022 20:29:12 +0000 (20:29 +0000)
commit88cf03ff005474de5eaf0285c92a24017fe341cf
tree742642bdc7b60d0a9920cbac35931b6413c5e88b
parent8dc91ce6a64db96d8295fd3d9dff2779c02e4a71
Use factorybot to build user objects

This allows us to only specify attributes of interest in the test.
test/models/user_test.rb