Merge branch 'migrate-fabricators-to-factory-bot-factories' into registry-343

This commit is contained in:
Artur Beljajev 2017-10-28 21:53:29 +03:00
commit f5d4d3707f
88 changed files with 357 additions and 610 deletions

View file

@ -354,10 +354,6 @@ class Contact < ActiveRecord::Base
self.auth_info = SecureRandom.hex(11)
end
def disable_generate_auth_info! # needed for testing
@generate_auth_info_disabled = true
end
# def auth_info=(pw)
# self[:auth_info] = pw if new_record?
# end