mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Remove duplicate compiled_to_create method
This commit is contained in:
parent
0d4b5cb34e
commit
edb6eaf8af
1 changed files with 0 additions and 4 deletions
|
@ -97,10 +97,6 @@ module FactoryGirl
|
|||
|
||||
protected
|
||||
|
||||
def compiled_to_create
|
||||
@definition.compiled_to_create || parent.compiled_to_create
|
||||
end
|
||||
|
||||
def class_name
|
||||
@class_name || parent.class_name || name
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue