mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Remove extra @ignored_attributes assignments in subclasses of Proxy
This commit is contained in:
parent
3803be3846
commit
68e8e9ea6f
2 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@ module FactoryGirl
|
|||
def initialize(klass, callbacks = [])
|
||||
super
|
||||
@hash = {}
|
||||
@ignored_attributes = {}
|
||||
end
|
||||
|
||||
def get(attribute)
|
||||
|
|
|
@ -6,7 +6,6 @@ module FactoryGirl
|
|||
def initialize(klass, callbacks = [])
|
||||
super
|
||||
@instance = klass.new
|
||||
@ignored_attributes = {}
|
||||
@instance.id = next_id
|
||||
@instance.instance_eval do
|
||||
def persisted?
|
||||
|
|
Loading…
Reference in a new issue