1
0
Fork 0
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:
Joshua Clayton 2011-11-01 21:20:07 -04:00
parent 3803be3846
commit 68e8e9ea6f
2 changed files with 0 additions and 2 deletions

View file

@ -4,7 +4,6 @@ module FactoryGirl
def initialize(klass, callbacks = [])
super
@hash = {}
@ignored_attributes = {}
end
def get(attribute)

View file

@ -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?