You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this, clearly a bug. I think we should re-think this API in general. Yielding attribute values via block args can be problematic when you have attributes that match ruby keywords.
@flash-gordon yeah...seems like a pragmatic choice. I wonder though....maybe we could provide a struct with values that are lazy, this way you could still rely on more than one value but access it through one object.
Describe the bug
Overriding attributes is causing factory field resolver to receive
nil
instead of overwritten value.To Reproduce
create file
app_spec.rb
with:now
rspec app_spec.rb
is producing following error:Expected behavior
I was expecting
email
callback to receiveAlice
value.My environment
The text was updated successfully, but these errors were encountered: