Remove extra @ignored_attributes assignments in subclasses of Proxy
This commit is contained in:
parent
3803be3846
commit
68e8e9ea6f
|
@ -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 New Issue