| ... | @@ -53,7 +53,7 @@ When run, this spec doesn't do what we might expect: |
... | @@ -53,7 +53,7 @@ When run, this spec doesn't do what we might expect: |
|
|
(compared using ==)
|
|
(compared using ==)
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
That's because FactoryBot sequences are not reseted for each example.
|
|
This is because FactoryBot sequences are not reset for each example.
|
|
|
|
|
|
|
|
Please remember that sequence-generated values exist only to avoid having to
|
|
Please remember that sequence-generated values exist only to avoid having to
|
|
|
explicitly set attributes that have a uniqueness constraint when using a factory.
|
|
explicitly set attributes that have a uniqueness constraint when using a factory.
|
| ... | |
... | |
| ... | | ... | |