Skip to content

Commit f710e5e

Browse files
authored
Update README.md
1 parent bd44870 commit f710e5e

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,13 @@ The `tailwindcss:build` is automatically attached to `assets:precompile`, so bef
2828

2929
### Building for testing
3030

31-
The `tailwindcss:build` is automatically attached to the `test:prepare` rake task. This is attached before Rails tests if you run them using rake, or you can run it manually.
31+
The `tailwindcss:build` is automatically attached to the `test:prepare` task. This is attached before Rails tests (eg `test:all` or `test:controllers`).
3232

33-
If you need a Tailwind file in your CI environment, you have a few options:
33+
If you need a Tailwind file in your CI environment to run tests, the simplest way to do this is to run this command:
3434

35-
<details>
36-
<summary>Run tests via a rake task</summary>
37-
38-
`bin/rake test:all`, or another of [these](https://github.com/rails/rails/blob/main/railties/lib/rails/test_unit/testing.rake) tasks.
39-
40-
</details>
41-
42-
<details>
43-
<summary>Run tests via a `rails` command</summary>
44-
4535
```
46-
bin/rake test:prepare
47-
bin/rails test
36+
bin/rails test:prepare test
4837
```
49-
50-
</details>
5138

5239
### Update assets automatically
5340

0 commit comments

Comments
 (0)