1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

Fix formatting.

This commit is contained in:
Gabe Berke-Williams 2011-08-29 21:17:09 -03:00
parent 79a1d5e135
commit aadeb530ca

View file

@ -166,8 +166,8 @@ There may be times where your code can be DRYed up by passing in transient attri
end
end
FactoryGirl.create(:user, :upcased => true).name
# => "JOHN DOE - ROCKSTAR"
FactoryGirl.create(:user, :upcased => true).name
#=> "JOHN DOE - ROCKSTAR"
Static and dynamic attributes can be ignored. Ignored attributes will be ignored within attributes_for and won't be set on the model, even if the attribute exists or you attempt to override it.