You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-16Lines changed: 3 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -28,26 +28,13 @@ The `tailwindcss:build` is automatically attached to `assets:precompile`, so bef
28
28
29
29
### Building for testing
30
30
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`).
32
32
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:
34
34
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>
0 commit comments