Skip to content

Commit eb758b0

Browse files
ekamppzzak
andcommitted
Update reference from db:test:prepare to use test:db instead
This reference to `db:test:prepare`, which was made private in fa15111 and covered in rails#2560 is outdated. We should teach users about the public task instead (using `bin/rails --help` as a guide). Co-authored-by: Emil Kampp <[email protected]> Co-authored-by: zzak <[email protected]>
1 parent 418e2ed commit eb758b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ the migrations against the development database (`bin/rails db:migrate`) will
702702
bring the schema up to date.
703703

704704
NOTE: If there were modifications to existing migrations, the test database needs to
705-
be rebuilt. This can be done by executing `bin/rails db:test:prepare`.
705+
be rebuilt. This can be done by executing `bin/rails test:db`.
706706

707707
### The Low-Down on Fixtures
708708

0 commit comments

Comments
 (0)