mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Don't cache build class
This commit is contained in:
parent
463028d82e
commit
845a76a595
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module FactoryGirl
|
|||
end
|
||||
|
||||
def build_class #:nodoc:
|
||||
@build_class ||= class_name.to_s.camelize.constantize
|
||||
class_name.to_s.camelize.constantize
|
||||
end
|
||||
|
||||
def default_strategy #:nodoc:
|
||||
|
|
Loading…
Add table
Reference in a new issue