]> git.openstreetmap.org Git - rails.git/commit
unburden call for User fabrication
authorJosh Thompson <thompsonjoshd@gmail.com>
Wed, 17 Apr 2024 19:52:39 +0000 (13:52 -0600)
committerJosh Thompson <thompsonjoshd@gmail.com>
Wed, 17 Apr 2024 20:03:52 +0000 (14:03 -0600)
commit4cac6b035410619a4b6bece8be6f224fb06b3c87
tree7c7132d0fcec9cf0fa0bb58bcfd53432683181b7
parentdd7754117bb913f0b916b04107b3dc3af9bb7e6c
unburden  call for User fabrication

Speeds up tests rather nicely, derived via trial and error
reasonably confident that this is nice. overheard it mentioned by Vladimir
Dementyev in a Codewithjason podcast, so when my intuition already led me
to the user factory, I figured 'on principle/correctness, I should at least
look at what happens if we sidestep the native hashing library, because it's
something i was already curious about.
test/factories/user.rb