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:
parent
79a1d5e135
commit
aadeb530ca
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue