No this is creating the roles, not the users with the roles :admin_role = the role itself, :admin_user = the user with the admin role. I was doing Role.all inside the select_tag, but there obviously no roles in the test db unless I create them first.