Fix ignored attribute name
This commit is contained in:
parent
9c6c252d0f
commit
de007be6cb
|
@ -302,7 +302,7 @@ This allows us to do:
|
||||||
```ruby
|
```ruby
|
||||||
FactoryGirl.create(:user).posts.length # 0
|
FactoryGirl.create(:user).posts.length # 0
|
||||||
FactoryGirl.create(:user_with_posts).posts.length # 5
|
FactoryGirl.create(:user_with_posts).posts.length # 5
|
||||||
FactoryGirl.create(:user_with_posts, :posts_length => 15).posts.length # 15
|
FactoryGirl.create(:user_with_posts, :posts_count => 15).posts.length # 15
|
||||||
```
|
```
|
||||||
|
|
||||||
Inheritance
|
Inheritance
|
||||||
|
|
Loading…
Reference in New Issue