Open ydakuka opened 1 year ago
There is no information which style is preferred.
1)
let :user do build(:user, profile: profile).tap do |user| user.save validate: false end end
or
2)
let(:user) do build(:user, profile: profile).tap do |user| user.save validate: false end end
Would you please harvest the real-world-rspec repo to see if one style prevails?
There is no information which style is preferred.
1)
or
2)