]> git.openstreetmap.org Git - rails.git/commit
Add a user_role factory
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Feb 2017 12:35:29 +0000 (12:35 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Feb 2017 12:35:29 +0000 (12:35 +0000)
commitc55169659ccab3fdb4aea11b5bea6ad62b6d297d
tree7f50fbb89444753e3d372f64158260911601a433
parent9e591d8ccb264aec201020d537dbf2dca6e15bbf
Add a user_role factory

Naming the association in the model makes the relationship easier
to express in the factory.
app/models/user_role.rb
test/factories/user_role.rb [new file with mode: 0644]